Closed
Bug 602212
Opened 14 years ago
Closed 13 years ago
Use js.msg when CSP blocks eval
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: jorendorff, Assigned: evilpie)
Details
Attachments
(2 files)
3.02 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
1.93 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•14 years ago
|
||
I'll fix this in bug 592664 after all.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•14 years ago
|
||
Sorry. No coffee yet. Will fix.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Comment 3•14 years ago
|
||
Assignee: general → jorendorff
Attachment #481245 -
Flags: review?(brendan)
Comment 4•14 years ago
|
||
Comment on attachment 481245 [details] [diff] [review] v1 r=me with a double-check that caps isn't double-reporting. /be
Attachment #481245 -
Flags: review?(brendan) → review+
Reporter | ||
Comment 5•14 years ago
|
||
Do you mean a JS_ASSERT or an actual "if (!cx->throwing)" around the JS_ReportErrorNumber calls?
Comment 6•14 years ago
|
||
(In reply to comment #5) > Do you mean a JS_ASSERT or an actual "if (!cx->throwing)" around the > JS_ReportErrorNumber calls? Or just inspect the caps code (I tried a grep and saw some Report matches, so was not sure). But asserting is better, if JS_ReportErrorNumber doesn't already. /be
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #571782 -
Flags: review?(jorendorff)
Reporter | ||
Comment 8•13 years ago
|
||
Comment on attachment 571782 [details] [diff] [review] refreshed Confirmed, the hook for this in CAPS (nsScriptSecurityManager::ContentSecurityPolicyPermitsJSAction) does not report an error. Thanks for digging this one up, evilpie.
Attachment #571782 -
Flags: review?(jorendorff) → review+
Assignee | ||
Updated•13 years ago
|
Assignee: jorendorff → evilpies
Assignee | ||
Comment 9•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/fec0c7e1b84c
Comment 10•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fec0c7e1b84c
Status: REOPENED → RESOLVED
Closed: 14 years ago → 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Version: Other Branch → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•