Closed
Bug 617053
Opened 14 years ago
Closed 14 years ago
"Error: getSelectedItem is not defined" when switching from jsObject viewer to dom viewer in document pane
Categories
(Other Applications :: DOM Inspector, defect)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: crussell, Assigned: crussell)
References
Details
Attachments
(1 file)
809 bytes,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
1. Open the DOM Inspector
2. Inspect some document
3. Switch to the JavaScript Object viewer in the document pane
4. Switch back to the Dom Nodes viewer
Error: getSelectedItem is not defined
Source File: chrome://inspector/content/viewers/jsObject/jsObjectViewer.js
Line: 125
It sounds like it might have been introduced with bug 588071, but quickly looking at the call stack makes it seem to me that it's a bug in the panelset/panel bindings, and we might not've been triggering it before. I will look further into this soon.
Assignee | ||
Updated•14 years ago
|
Severity: major → normal
Summary: window-fatal error "Error: getSelectedItem is not defined" when switching from jsObject viewer to dom viewer in document pane → "Error: getSelectedItem is not defined" when switching from jsObject viewer to dom viewer in document pane
Assignee | ||
Comment 1•14 years ago
|
||
The onTreeSelectionChange call is leftover from rev 506 <http://hg.mozilla.org/dom-inspector/rev/695c41c00fa5#l10.44>, when it was called onItemSelected and setting the pref triggered a rebuild.
Updated•14 years ago
|
Attachment #497213 -
Flags: review?(neil) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•