Closed Bug 104366 Opened 23 years ago Closed 23 years ago

uncaught exception in PageInfoOverlay.xul

Categories

(Core Graveyard :: Security: UI, defect, P3)

Other Branch
x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME
Future

People

(Reporter: bugzilla, Assigned: ssaux)

Details

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
Closed: 23 years ago
Resolution: --- → INVALID
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
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
Priority: -- → P3
Target Milestone: --- → Future
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]
dupe of 83392 ?
Marking worksforme.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
Verified WFM.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.