Closed
Bug 91282
Opened 24 years ago
Closed 24 years ago
property name should be included in javascript exception
Categories
(Core :: Security: CAPS, defect)
Tracking
()
People
(Reporter: bugzilla, Assigned: security-bugs)
Details
When fx go to:
http://dir.spylog.ru/
you get in the console:
Error: uncaught exception: Permission denied to access property
which comes from:
http://lxr.mozilla.org/mozilla/source/caps/src/nsScriptSecurityManager.cpp#354
It could be nice if the property was included in the jaqvascript exception.
Something like:
Error: uncaught exception: Permission denied to access property [document.cookie]
btw: why is it a "uncaught exception"?
![]() |
||
Comment 1•24 years ago
|
||
It's uncaught because no one bothered to put a try {} around the code in question?
Assignee | ||
Comment 2•24 years ago
|
||
Coming soon.
That's correct, 'uncaught' means it could have been caught by a try/catch
statement in the script. If the exception shows up in the JS console, that means
it wasn't caught by the script.
*** This bug has been marked as a duplicate of 83131 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 3•24 years ago
|
||
Why is it that some errors in the JS console say "uncaught exception" and some
don't?
You need to log in
before you can comment on or make changes to this bug.
Description
•