Closed Bug 322726 Opened 19 years ago Closed 17 years ago

ASSERTION: failed to get the nsIScriptGlobalObject. bug 95465?: 'boundGlobal'

Categories

(Core :: XBL, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

230 bytes, application/vnd.mozilla.xul+xml
Details
Steps to reproduce:
1. Load the testcase in a trunk debug build.
2. In the same tab, load another page (e.g. click the home button).

Result:

###!!! ASSERTION: failed to get the nsIScriptGlobalObject. bug 95465?: 'boundGlobal', file /Users/admin/trunk/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp, line 439
Attached file testcase
So the event is fired during a reflow... but the thing is that by the time the event fires the document in question has no script global object.

This doesn't seem like an unreachable situation while we null out script globals...
Depends on: 311831
Flags: blocking1.9a1?
Flags: blocking1.9a1? → blocking1.9-
Still happens on trunk, following the steps in comment 0.

Which event fires during reflow?  Is that itself a violation of an invariant?  Are there other bugs covering that?
I can't actually reproduce this locally at the moment...  So I don't know.

You can get the answer to your first question from the stack.  Given the stack, I could probably also answer your second question.
WFM, Mac trunk debug.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: