Closed
Bug 401735
Opened 17 years ago
Closed 17 years ago
"Permission denied to create wrapper" exceptions not logged when raised in event handler
Categories
(Core :: XPConnect, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9
People
(Reporter: skrulx, Assigned: mrbkap)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files)
461 bytes,
text/html
|
Details | |
688 bytes,
patch
|
jst
:
review+
jst
:
superreview+
jst
:
approval1.9+
|
Details | Diff | Splinter Review |
This is likely a regression from bug 393627. STR: 1. Open attached test file in Firefox 2.0 and open the error console 2. Click "Call function", note that an error is logged ("Error: uncaught exception: Permission denied...") 3. Click "Dispatch event", note that en error is logged ("Error: [Exception... "'Permission denied...") 4. Open attched test file in a trunk build and open the error console 5. Click "Call function", note that an error is logged 6. Click "Dispatch event", note that an error IS NOT logged So the script is silently failing when it throws a permission denied exception. This is a bit more problematic for Songbird since we have a "songbird" web page object with lots of security settings and it is difficult to debug security related problems when the errors are not logged.
Assignee | ||
Comment 1•17 years ago
|
||
Oops, I missed one or two! I went back through and these really are the only non-nsresult-thrown error codes possible.
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #287614 -
Flags: superreview?
Attachment #287614 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #287614 -
Flags: superreview?(jst)
Attachment #287614 -
Flags: superreview?
Attachment #287614 -
Flags: review?(jst)
Attachment #287614 -
Flags: review?
Updated•17 years ago
|
Attachment #287614 -
Flags: superreview?(jst)
Attachment #287614 -
Flags: superreview+
Attachment #287614 -
Flags: review?(jst)
Attachment #287614 -
Flags: review+
Updated•17 years ago
|
Flags: blocking1.9+
Priority: -- → P2
Assignee | ||
Comment 2•17 years ago
|
||
Comment on attachment 287614 [details] [diff] [review] Proposed fix Super-safe fix to ensure that we report thrown exceptions.
Attachment #287614 -
Flags: approval1.9?
Comment 3•17 years ago
|
||
Comment on attachment 287614 [details] [diff] [review] Proposed fix Feel free to land this once the tree opens up for post-beta1 checkins.
Attachment #287614 -
Flags: approval1.9? → approval1.9+
Keywords: regression,
testcase
Updated•17 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 4•17 years ago
|
||
Fix finally checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•