Closed Bug 1209342 Opened 9 years ago Closed 9 years ago

[markup-view] attributeName="null" is added to markup view when an attribute is added and removed in the same function

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(firefox44 fixed)

RESOLVED FIXED
Firefox 44
Tracking Status
firefox44 --- fixed

People

(Reporter: bgrins, Assigned: bgrins)

References

Details

(Whiteboard: [polish-backlog][difficulty=easy])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1192270 +++

When executing:

> document.body.setAttribute("a", "b");
> document.body.removeAttribute("a");

The body ends up with "a=null" visible in the markup view.  It appears that this could use a fix in the DOM code for MutationObserver, but there should be a workaround we can use in the Walker Actor
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Whiteboard: [polish-backlog][difficulty=easy]
Bug 1209342 - Ignore attribute changes from Mutation Observer with null newValue;r=pbrosset
Attachment #8667010 - Flags: review?(pbrosset)
Comment on attachment 8667010 [details]
MozReview Request: Bug 1209342 - Ignore attribute changes from Mutation Observer with null newValue;r=pbrosset

https://reviewboard.mozilla.org/r/20655/#review18549
Attachment #8667010 - Flags: review?(pbrosset) → review+
https://hg.mozilla.org/mozilla-central/rev/08f262008391
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: