Closed
Bug 435577
Opened 16 years ago
Closed 11 years ago
Security tab broken for moz-icon or jar URIs.
Categories
(Firefox :: Page Info Window, defect)
Firefox
Page Info Window
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: florian, Unassigned)
References
()
Details
STR: Open Page info for an URI using the moz-icon scheme. Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.asciiHost]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/pageinfo/security.js :: hostHasCookies :: line 305" data: no] The bottom part of the Security tab appears empty, and the JS error prevents the Permissions tab from hiding (it is normally visible only for http/https URIs) nsIURI.asciiHost fails (NS_ERROR_FAILURE) for at least jar and moz-icon URIs. For data URIs, it will return an empty string. I guess we should just catch the exception...
Comment 1•16 years ago
|
||
yeah, if it's throwing we should just catch & bail.
Comment 2•11 years ago
|
||
This works for me on Firefox Nightly 22. I tested using moz-icon://.pdf?size=16, opened the Page Info dialog and looked in the Security tab. I checked the Error Console and the Web Console.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•