Closed Bug 91282 Opened 24 years ago Closed 24 years ago

property name should be included in javascript exception

Categories

(Core :: Security: CAPS, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 83131

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"?
It's uncaught because no one bothered to put a try {} around the code in question?
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
Why is it that some errors in the JS console say "uncaught exception" and some don't?
Marking VERIFIED DUPLICATE.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.