Closed Bug 369788 Opened 18 years ago Closed 17 years ago

"ASSERTION: No scope has this global object!" with embed.appendChild(embed.__proto__);

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
Loading this testcase triggers an assertion: ###!!! ASSERTION: No scope has this global object!: 'OKIfNotInitialized', file /Users/jruderman/trunk/mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, line 649
Summary: "ASSERTION: No scope has this global object!" → "ASSERTION: No scope has this global object!" with embed.appendChild(embed.__proto__);
Do you need a scriptable flash plugin or something? All I get on Linux with Flash 7 is: JavaScript error: , line 0: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: https://bugzilla.mozilla.org/attachment.cgi?id=254463 :: boom :: line 9" data: no]
Flags: blocking1.9?
Doesn't seem like a critical assertion. Boris, the reason you don't see this is probably that you're using Flash 7 which is scriptable through an XPCOM interface, not through the NPRuntime plugin scriptability API, so your embed.__proto__ is a different object.
Flags: blocking1.9? → blocking1.9-
WFM, Mac trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
I'm seeing this again (same testcase).
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Now I get no assertion, but a slightly less reasonable error message than the error message in comment 1: JavaScript error: , line 0: uncaught exception: [Exception... "Node cannot be inserted at the specified point in the hierarchy" code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location: "https://bugzilla.mozilla.org/attachment.cgi?id=254463 Line: 9"]
Status: REOPENED → RESOLVED
Closed: 18 years ago17 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
Depends on: test-plugin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: