Closed Bug 324025 Opened 19 years ago Closed 12 years ago

Assertion: XPConnect is being called on a scope without a 'Components' property! [@XPCWrappedNativeScope::FindInJSObjectScope]

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: WeirdAl, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files, 1 obsolete file)

Since the earliest days of JavaScript, Netscape (and later Mozilla) have supported checking for window.closed. SeaMonkey trunk asserts on checking that property now. Test case coming right up.
Attached file testcase
Steps to reproduce: (1) Load this attachment into your browser. (2) Click the first link. A popup window will appear. (3) Close the popup window. (4) Click the second link. Expected results: Alert dialog with the word "true". Actual results: Assertion, followed by alert dialog with the word "true".
Attached file stack trace (obsolete) —
Looks like splitwindow fallout.. jst, mrbkap, any ideas?
Flags: blocking1.9a1?
I think this may be a dupe of bug 323978. I'll check more tomorrow.
Flags: blocking1.9a1? → blocking1.9-
Whiteboard: [wanted-1.9]
Depends on: 323978
Depends on: 400349
No longer depends on: 323978
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
I can reproduce this bug using the testcase in comment 1. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008042018 Minefield/3.0pre
OS: Windows XP → All
Hardware: PC → All
QA Contact: ian → general
Summary: window.closed: ###!!! ASSERTION: XPConnect is being called on a scope without a 'Components' property!: 'Error', file c:/mozsource/mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, line 589 → Assertion: XPConnect is being called on a scope without a 'Components' property! [@XPCWrappedNativeScope::FindInJSObjectScope]
Attached file Stack with gdb
Updated stack for current trunk build on OS X. I also get an assertion when opening the popup. But that should be covert by another bug.
Attachment #208978 - Attachment is obsolete: true
Assignee: general → nobody
I'm seeing this assertion in a debug build of Firefox I made this morning.
Bug 747434 removed the assertion.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: