Closed Bug 173879 Opened 22 years ago Closed 21 years ago

Javascript error: uncaught exception while opening View Page/Selection Source

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED FIXED
Firebird0.8

People

(Reporter: aha, Assigned: p_ch)

References

()

Details

Attachments

(1 file)

20021010/W2K Repro: 1. go to http://www.mozilla.org/ 2. open Page Source Actual (in JS console): Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getIntPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://cookie/content/cookieTasksOverlay.xul :: <TOP_LEVEL> :: line 88" data: no] Expected: Without errors. (Actual Mozilla trunk nightbuild hasn't this error.)
Is this still happening?
Yep, I'm getting same error with actual 20021104/W2K Phoenix build.
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3a) Gecko/20021112 Phoenix/0.4 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021112 Phoenix/0.4 Both generate the same error, (though referring line Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getIntPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://cookie/content/cookieTasksOverlay.xul :: CookieTasksStartup :: line 84" data: no]
We should probably set the pref that hides chrome JS errors in the JS console for our releases. Even among the small subset of users that look at the JS console, very few of them care about application errors.
I'm not sure if this bug was meant to be a general bug to fix all problems like this, or specifically fix this exception, but here is a patch that catches the specific exception that is being thrown.
*** Bug 207111 has been marked as a duplicate of this bug. ***
This will go away when we have our own view source. I believe pch is working on issues like this.
Assignee: blakeross → chanial
Target Milestone: --- → Firebird0.8
*** Bug 218286 has been marked as a duplicate of this bug. ***
*** Bug 219579 has been marked as a duplicate of this bug. ***
Summary: Error: uncaught exception while opening Page Source → Javascript error: uncaught exception while opening View Page/Selection Source
*** Bug 219885 has been marked as a duplicate of this bug. ***
QA Contact: asa
fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
The javascript error is gone. -> verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: