Closed
Bug 1055467
Opened 11 years ago
Closed 11 years ago
Rename MozNamedAttrMap to NamedNodeMap
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: annevk, Assigned: baku)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 2 obsolete files)
13.38 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
It's not really worth renaming this I think. Let's embrace the web.
Updated•11 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8475203 -
Flags: review?(bugs)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8475203 [details] [diff] [review]
named.patch
The new name should be NamedNodeMap, not NamedAttrMap.
Attachment #8475203 -
Flags: review?(bugs) → review-
Assignee | ||
Comment 3•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=e2c0780e8214
This patch keeps nsIDOMMozNamedAttrMap but without any methods and attributes just to be compatible with existing addons. I marked this interface builtinclass.
Attachment #8475203 -
Attachment is obsolete: true
Attachment #8475275 -
Flags: review?(bugs)
Comment 4•11 years ago
|
||
Name NamedNodeMap of course doesn't make any sense, but since DOM 3 Core had that (for Nodes, not only for Attrs), I guess this is fine.
Comment 5•11 years ago
|
||
Comment on attachment 8475275 [details] [diff] [review]
named.patch
Since we have even internal usage for the .idl interface, I wouldn't remove it.
The casting is ugly and error prone.
Why not just rename the webidl interface?
Attachment #8475275 -
Flags: review?(bugs) → review-
Assignee | ||
Comment 6•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=ab4d8237fbd3
Ok, I just tried to remove a idl interface with this patch. But it can be done in a different patch.
Attachment #8475275 -
Attachment is obsolete: true
Attachment #8476607 -
Flags: review?(bugs)
Comment 7•11 years ago
|
||
Comment on attachment 8476607 [details] [diff] [review]
named.patch
>-/**
>- * This is a temporary, non-standard interface, to ease the transition to a
>- * world where Attr no longer inherits from Node.
>- */
>-
I don't see reason for this change.
Attachment #8476607 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Assignee: nobody → amarchesini
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment 10•11 years ago
|
||
Updated doc:
https://developer.mozilla.org/en-US/Firefox/Releases/34
https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap
https://developer.mozilla.org/en-US/docs/Web/API/Element.attributes
Keywords: dev-doc-needed → dev-doc-complete
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•