Closed Bug 251274 Opened 21 years ago Closed 20 years ago

[FIX]Error: [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://inspector/content/inspector.xml Line: 684"]

Categories

(Other Applications :: DOM Inspector, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: timeless, Assigned: bzbarsky)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520 Steps: 1. open domi 2. view>browser 3. chrome://navigator/content 4. fullscreen 5. widget view switch to style sheet 6. widget view switch to Javascript(sp) object Error: [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://inspector/content/inspector.xml Line: 684"] Source File: chrome://inspector/content/inspector.xml Line: 684 reproducable: once confused, the domi will remain confused.
Product: Core → Other Applications
Something weird seems to be happening, but I don't understand it, so CCing a bunch of DOM folks to see if they can chip in. First, turn off JavaScript in the browser, load chrome://inspector/content/ and then press Ctrl+Shift+I to inspect it; if you look the window should have three popupset children, the third (ppsViewerPopupset) with child ppViewerContext-dom. Now open a third DOM inspector to inspect the second DOM inspector. Note that the ppViewContext-dom is no longer a child of ppsViewerPopupset. JavaScript has actually moved it in the DOM to a child of an XBL-anonymous node. Now switch the second DOM inspector to "Stylesheets" view. Note that the ppViewContext-dom is now an anonymous child of ppsViewerPopupset! However the JavaScript still believes that it's still the child of the XBL-anonymous node.
In my opinion this really hurts the use of the DOM inspector. As soon as you make a second change to which DOM Inspector information type you are looking at: (DOM nodes, Javascript object, or stylesheets), you can't do much else because the left listview becomes and remains blank. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050801 Firefox/1.0+ ID:2005080106
Flags: blocking-aviary1.5?
-ing but will accept a patch if it is ready in time.
Flags: blocking-aviary1.5? → blocking-aviary1.5-
Attached patch FixSplinter Review
This just makes sure that this.mContextMenu is maintained properly. As it was, we ended up thinking we had a context menu when we really didn't.
Attachment #193251 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #193251 - Flags: review?(timeless)
Assignee: dom-inspector → bzbarsky
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Summary: Error: [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://inspector/content/inspector.xml Line: 684"] → [FIX]Error: [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://inspector/content/inspector.xml Line: 684"]
Target Milestone: --- → mozilla1.8beta2
Comment on attachment 193251 [details] [diff] [review] Fix Doh! What confused me is that the menu is contextual but not a context menu in the generally accepted sense.
Attachment #193251 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Attachment #193251 - Flags: review?(timeless) → review+
Comment on attachment 193251 [details] [diff] [review] Fix Requesting 1.8b4 approval for this very simple and safe DOM inspector patch.
Attachment #193251 - Flags: approval1.8b4?
Comment on attachment 193251 [details] [diff] [review] Fix a=cbeard
Attachment #193251 - Flags: approval1.8b4? → approval1.8b4+
Fixed, trunk and branch (for 1.8b4 and 1.9a1).
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
QA Contact: timeless → dom-inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: