Closed
Bug 763977
Opened 13 years ago
Closed 13 years ago
content window.onerror from chrome code causes assertion failure: compartments mismatch
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 763225
People
(Reporter: msucan, Unassigned)
Details
(Whiteboard: [sg:dupe 763225])
I just made a change to a mochitest for the Web Console. I added contentWindow.onerror = someFunction to check if a specific error shows up in the page I load in a tab. This works in opt builds, but in dbg builds I get assertion failure: compartments mismatch.
This is the try push I did with the code:
https://tbpl.mozilla.org/?tree=Try&rev=848032c9a87a
The offending test file is:
browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js
I'm reporting this as a security bug as suggested by Ehsan. Please let me know if there's something I can help with. Thank you!
If I'm not mistaken this is basically the same issue as bug 763225.
Comment 2•13 years ago
|
||
Yes, looks like the same issue.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Whiteboard: [sg:dupe 763225]
Updated•13 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•