Closed Bug 883604 Opened 8 years ago Closed 8 years ago

Implement NodeFront.isDocumentElement

Categories

(DevTools :: Inspector, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: dcamp, Assigned: dcamp)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
A bunch of places in the inspector check for node === node.ownerDocument.documentElement, which isn't quite as easy with the walker.  Add an isDocumentElement property to the node front.
Attachment #763201 - Flags: review?(paul)
Attachment #763201 - Flags: review?(paul) → review+
https://hg.mozilla.org/integration/fx-team/rev/3893f49e70b0
Assignee: nobody → dcamp
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/3893f49e70b0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.