Open Bug 799329 Opened 8 years ago Updated 6 years ago

Page Info makes inappropriate assumptions about document lifetime

Categories

(Firefox :: Page Info Window, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

(Blocks 3 open bugs)

Details

(Keywords: testcase)

Attachments

(1 file)

1. Load y.html
2. Wait until it's responsive
3. Open Page Info (⌘I)
4. Close the window containing y.html

Result:

JavaScript error: chrome://browser/content/pageinfo/pageInfo.js, line 587: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "elem.ownerDocument.defaultView is null" {file: "chrome://browser/content/pageinfo/pageInfo.js" line: 638}]' when calling method: [nsIDOMNodeFilter::acceptNode]
The solution here is presumably to have the page info window watch for unload on the document it cares about, and disable any functionality that relies on it when that happens (media tree view?). I think we don't want to just close the window, since someone might want to keep the basic page info around after having closed the page.
I think this should be dupped to Bug 749652 or vice versa.
Whiteboard: DUP-ME Bug 749652
Duplicate of this bug: 749652
OS: Mac OS X → All
Hardware: x86_64 → All
Whiteboard: DUP-ME Bug 749652
Blocks: fuzz-keys
Blocks: 979400
You need to log in before you can comment on or make changes to this bug.