Closed
Bug 878442
Opened 12 years ago
Closed 12 years ago
Add tree change mutations to the inspector actor
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: dcamp, Assigned: dcamp)
References
Details
Attachments
(1 file, 3 obsolete files)
|
23.93 KB,
patch
|
jwalker
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•12 years ago
|
||
This is untested, but I think it should work. Doesn't yet fake child list mutations for iframe loads, I'll probably save that for a followup.
| Assignee | ||
Comment 2•12 years ago
|
||
With tests and the fixes needed to make those tests work.
Attachment #757037 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #757147 -
Flags: review?(jwalker)
| Assignee | ||
Comment 3•12 years ago
|
||
(oops, the child list changes will need to include numChildren updates for the nodes...)
| Assignee | ||
Comment 4•12 years ago
|
||
This version updates numChildren
Attachment #757147 -
Attachment is obsolete: true
Attachment #757147 -
Flags: review?(jwalker)
Attachment #757175 -
Flags: review?(jwalker)
| Assignee | ||
Comment 5•12 years ago
|
||
Improved documentation.
Attachment #757175 -
Attachment is obsolete: true
Attachment #757175 -
Flags: review?(jwalker)
Attachment #759495 -
Flags: review?(jwalker)
Comment 6•12 years ago
|
||
Comment on attachment 759495 [details] [diff] [review]
v3
Review of attachment 759495 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/devtools/server/actors/inspector.js
@@ +1051,5 @@
> + * removed: array of <domnode actor ID> The list of actors *previously
> + * seen by the client* that were removed from the target node.
> + *
> + * Actors that are included in a MutationRecord's `removed` but
> + * not in an `added` has been removed from the client's ownership
s/has been removed/have been removed/
@@ +1105,5 @@
> mutation.incompleteValue = true;
> } else {
> mutation.newValue = targetNode.nodeValue;
> }
> + } else if (mutation.type === "childList") {
This is kind of a prove-i've-been-here comment. Wouldn't 'mutation' be a better name:
for (let mutation of mutations) ....
Ignore at will.
Attachment #759495 -
Flags: review?(jwalker) → review+
| Assignee | ||
Comment 7•12 years ago
|
||
I used 'change' instead of 'mutation' because it seemed to small a change from 'mutations' by total percentage of characters. But I kinda regret that now.
Enough patches would bitrot if I changed that now that I'd prefer a followup if we care enough.
| Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Dave Camp (:dcamp) from comment #7)
> I used 'change' instead of 'mutation' because it seemed to small a change
> from 'mutations' by total percentage of characters.
Boy did I mess that sentence up.
"mutation" vs "mutations" seemed harder to see the difference between than "change" vs. "mutations". But I regret that, I think.
| Assignee | ||
Comment 9•12 years ago
|
||
Assignee: nobody → dcamp
Whiteboard: [fixed-in-fx-team]
| Assignee | ||
Updated•12 years ago
|
No longer blocks: remote-inspector, 878443
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•