Alias setAttributeNode to setAttributeNodeNS and setNamedItem to setNamedItemNS

RESOLVED FIXED in Firefox 45

Status

()

Core
DOM
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: annevk, Assigned: bz)

Tracking

({dev-doc-needed})

unspecified
mozilla45
dev-doc-needed
Points:
---

Firefox Tracking Flags

(firefox45 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
See https://github.com/whatwg/dom/issues/117 for context.
Created attachment 8695391 [details] [diff] [review]
Make setAttributeNode be an alias for setAttributeNodeNS and setNamedItem on the attribute map be an alias for setNamedItemNS

This will possibly need some w3c imported DOM testsuite mochitest changes; doing a try run now.
Attachment #8695391 - Flags: review?(bugs)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED

Comment 2

2 years ago
Comment on attachment 8695391 [details] [diff] [review]
Make setAttributeNode be an alias for setAttributeNodeNS and setNamedItem on the attribute map be an alias for setNamedItemNS

Maybe, just maybe
[Throws, BinaryName="setNamedItemNS"]
could use SetNamedItemNS, since that is the actual binary name.
Attachment #8695391 - Flags: review?(bugs) → review+
Keywords: dev-doc-needed

Comment 4

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/dabb511539a3
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox45: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.