uncaught exception in PageInfoOverlay.xul

VERIFIED WORKSFORME

Status

Core Graveyard
Security: UI
P3
normal
VERIFIED WORKSFORME
17 years ago
2 years ago

People

(Reporter: Henrik Gemal, Assigned: Stephane Saux)

Tracking

Other Branch
Future
x86
Windows 2000

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
1. go to http://gemal.dk/test/2.html
2. right click on the link there and say "open in new window"
3. then you get en error saying that the page could not be loaded.
4. select the window with the page the didn't load
5. View -> Page Info

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.host]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://pippki/content/PageInfoOverlay.xul :: anonymous :: line 72"  data: no]
I don't see a bug here. You've linked to a page that doesn't exist, so why do
you expect any information to show up in Page Info? Everything seems to be
behaving as expected.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID
(Reporter)

Comment 2

17 years ago
I kind of thought that you should never get any js errors. That there should be 
some kind of check in the PageInfoOverlay file that a webpage is actually 
present...?

If you load "about" and the do View -> Page Info then the js error is causing 
the Security tab to not show correct info.

I thought that we might could do:
        try {
          var hostname = hostname;
        } catch(exception) {
          hostname = null;
        } 
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
-> XPToolkit/Widgets
Assignee: mstoltz → hyatt
Status: REOPENED → NEW
Component: Security: General → XP Toolkit/Widgets
QA Contact: bsharma → jrgm

Comment 4

17 years ago
This is up the apps level to guard against this error (although it's somewhat
moot whether the security overlay fails to be shown, for a page that doesn't 
exist).

-> PSM (or is there a better product/component for this).
Assignee: hyatt → ssaux
Component: XP Toolkit/Widgets → Client Library
Product: Browser → PSM
QA Contact: jrgm → junruh
Version: other → unspecified
(Assignee)

Updated

17 years ago
Priority: -- → P3
Target Milestone: --- → Future
(Reporter)

Comment 5

17 years ago
Much easier to reproduce:
Just select View -> Page Info on the "about:" page and you'll get:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.host]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://pippki/content/PageInfoOverlay.xul :: anonymous :: line 72"  data: no]
(Reporter)

Comment 6

17 years ago
dupe of 83392 ?

Comment 7

17 years ago
Marking worksforme.
Status: NEW → RESOLVED
Last Resolved: 17 years ago17 years ago
Resolution: --- → WORKSFORME

Comment 8

17 years ago
Verified WFM.
Status: RESOLVED → VERIFIED

Updated

14 years ago
Component: Security: UI → Security: UI
Product: PSM → Core
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.