Closed Bug 1443998 Opened 6 years ago Closed 6 years ago

DOMTokenList's replace() does attr sets when it should not

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

Details

Attachments

(1 file)

Attached file Testcase
See attached testcase: should not alert FAIL.

Writing a test for this will be a lot easier once the changes to wpt that https://github.com/whatwg/dom/pull/582 proposes land, because then we can test that mutations only happen exactly when replace() should return true.
See Also: → 1444909
This was fixed in bug 1444909.
Depends on: 1444909
(And a test was added there too.)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: