Closed Bug 886036 Opened 12 years ago Closed 12 years ago

Port pseudoclass lock to the inspector actor

Categories

(DevTools :: Inspector, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 25

People

(Reporter: dcamp, Assigned: dcamp)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch WIP 1 (obsolete) — Splinter Review
No description provided.
Attached patch v1Splinter Review
Attachment #766331 - Attachment is obsolete: true
Attachment #767381 - Flags: review?(fayearthur)
Comment on attachment 767381 [details] [diff] [review] v1 Review of attachment 767381 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/inspector/selection.js @@ +93,5 @@ > > if (attributeChange) > this.emit("attribute-changed"); > + if (pseudoChange) > + this.emit("pseudoclass"); If you add any more mutations here, you might want to consider a hash or something: let changes = {}; for (let m of mutations) { changes[m.type] = true; } for (let type in changes) { this.emit(type); } I guess the detached case is a little more complicated. Looks alright right now.
Attachment #767381 - Flags: review?(fayearthur) → review+
Assignee: nobody → dcamp
Whiteboard: [fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 25
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: