Closed
Bug 592110
Opened 14 years ago
Closed 14 years ago
XPConnect Errors: scope has no 'Components' property
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ddahl, Assigned: ddahl)
References
Details
(Whiteboard: [kd4b6])
###!!! ASSERTION: XPConnect is being called on a scope without a 'Components' property!: 'Error', file /home/ddahl/code/moz/mozilla-central/mozilla-central/js/src/xpconnect/src/xpcwrappednativescope.cpp, line 792 I get this error when trying to use the new lazy nsIDOMGlobalPropertyInitializer console object. This is the case when I dynamically create a script node via the console like: document.createElement("script").innerText = "function foo(){window.console.log('foo');}" The patches required to reproduce this are on bug 568629 and bug 587734 as well as bug 589329 for some XPConnect patching I may have some things wrapped incorrectly, not sure.
Assignee | ||
Comment 1•14 years ago
|
||
Yeah, look like I am doing something weird here. /me keeps hacking.
Updated•14 years ago
|
Whiteboard: [kd4b6]
Updated•14 years ago
|
Severity: normal → blocker
Comment 2•14 years ago
|
||
Reprioritizing bugs. You can filter the mail on the word TEABAGS.
Severity: blocker → normal
Updated•14 years ago
|
Blocks: devtools4b7
Assignee | ||
Comment 3•14 years ago
|
||
I need to test this again, and is dependent on patches in bug 568629, so this can move to b7. (once the lazy console is properly wrapped, this bug may go away)
Updated•14 years ago
|
Updated•14 years ago
|
Assignee: nobody → ddahl
Assignee | ||
Comment 4•14 years ago
|
||
I think this was jumping the gun. I spoke with jst and he said this error is a common false positive. I have also since gottent hings working reasonably well. Leaving it open for a few more days, but will probably close it as invalid.
Assignee | ||
Comment 5•14 years ago
|
||
My tests were improperly unsetting eventListeners, etc... nothing to see here.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•