Closed
Bug 683806
Opened 15 years ago
Closed 13 years ago
Security manager asserts when setting location.href via web console
Categories
(Core :: Security: CAPS, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bzbarsky, Unassigned)
Details
BUILD: Current trunk debug nightly
STEPS TO REPRODUCE:
1) Start browser
2) Load about:blank
3) Open Web Console (Accel-Shift-K)
4) Type the following:
var f = document.createElement("frame");
document.body.appendChild(f);
f.contentWindow.location.href = "data:text/html,aaa"
EXPECTED RESULTS: no asserts
ACTUAL RESULTS: ###!!! ASSERTION: Uh, cx is not the current JS context!: 'cx == GetCurrentJSContext()', file ../../../mozilla/caps/src/nsScriptSecurityManager.cpp, line 396
Comment 1•13 years ago
|
||
Bobby, I'm 99% sure that your recent patches fixed this.
Flags: needinfo?(bobbyholley+bmo)
Comment 2•13 years ago
|
||
I don't have an old build lying around to do a before-after comparison, but I don't see this on a recent build since bug 834732 landed.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: needinfo?(bobbyholley+bmo)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•