Closed Bug 762499 Opened 12 years ago Closed 12 years ago

The inspector should be updated when the DOM is updated.

Categories

(DevTools :: Inspector, defect, P1)

x86
All
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: paul, Unassigned)

References

Details

(Whiteboard: [check-if-fixed-because-toolbox])

Attachments

(1 file, 1 obsolete file)

Our code is too fragile. A change in the document is not reflected in the breadcrumbs or the HTML Tree. And often, it breaks the code, generate an exception, and we can't close the inspector.

We should use the new mutation events, and make sure all our DOM-related tools (breadcrumbs, HTML Tree, highlighter and style tools) won't break, and make sure they are updated.
Depends on: 746197, 761250, 758422, 761251
Priority: -- → P1
Depends on: 748000
No longer depends on: 746197, 748000, 758422, 761250, 761251
Blocks: 742555
Attached patch WIP - page observer (obsolete) — Splinter Review
Depends on: 723904
Attachment #637037 - Attachment is obsolete: true
Blocks: 769168
Paul, are you still working on this?
yes.
Whiteboard: [to-close-once-toolbox-has-landed]
Whiteboard: [to-close-once-toolbox-has-landed] → [check-if-fixed-because-toolbox]
Most of this should have been fixed by Selection.jsm, part of the Toolbox code that has landed last week.

There's still a case that we don't cover: bug 754612.

I'll make sure depending bugs are fixed now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: