Closed
Bug 1256299
Opened 9 years ago
Closed 9 years ago
Add isSameNode() back to Node
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: smaug, Assigned: jdai, Mentored)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [tw-dom])
Attachments
(2 files, 6 obsolete files)
2.39 KB,
patch
|
jdai
:
review+
|
Details | Diff | Splinter Review |
13.56 KB,
patch
|
jdai
:
review+
|
Details | Diff | Splinter Review |
Reporter | ||
Updated•9 years ago
|
Whiteboard: [tw-dom]
Updated•9 years ago
|
Keywords: dev-doc-needed
Updated•9 years ago
|
Mentor: bzbarsky
Updated•9 years ago
|
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8733246 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8733247 -
Flags: review?(bzbarsky)
Comment 4•9 years ago
|
||
Comment on attachment 8733246 [details] [diff] [review]
Bug 1256299 - Implement Node.isSameNode.
>+nsINode::IsSameNode(nsIDOMNode* aOther, bool* aReturn)
You don't need this function.
>+ NS_IMETHOD IsSameNode(nsIDOMNode* aArg, bool* aResult) __VA_ARGS__ override \
Or this bit.
>+++ b/dom/interfaces/core/nsIDOMNode.idl
Because you don't want to add anything to this file. nsIDOMNode is deprecated; we should slowly be removing things from it, not adding them.
r=me with that fixed. Thank you for picking this up!
Attachment #8733246 -
Flags: review?(bzbarsky) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8733247 [details] [diff] [review]
Bug 1256299 - Remove redundent trailing spaces.
r=me
Attachment #8733247 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Thanks for your review and valuable feedback. I addressed all of them into my patch.
Attachment #8733246 -
Attachment is obsolete: true
Attachment #8733823 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8733247 -
Attachment is obsolete: true
Attachment #8733824 -
Flags: review+
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 9•9 years ago
|
||
adding 1256299 to series file
renamed 1256299 -> bug_1256299_1.patch
applying bug_1256299_1.patch
patching file dom/base/nsINode.cpp
Hunk #1 FAILED at 970
1 out of 1 hunks FAILED -- saving rejects to file dom/base/nsINode.cpp.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working directory
errors during apply, please fix and qrefresh bug_1256299_1.patch
could you take a look, thanks!
Flags: needinfo?(jdai)
Keywords: checkin-needed
Assignee | ||
Comment 10•9 years ago
|
||
Sorry for the inconvenience, I didn't expect my patches can't apply to m-i. I will fix that and re-land my patch.
Flags: needinfo?(jdai)
Assignee | ||
Comment 11•9 years ago
|
||
I didn't modify any code, only changed patch order. Those patches can apply on m-c and m-i.
Try result:https://treeherder.mozilla.org/#/jobs?repo=try&revision=32b78ffb4284&filter-tier=1
Attachment #8733824 -
Attachment is obsolete: true
Attachment #8734680 -
Flags: review+
Assignee | ||
Comment 12•9 years ago
|
||
Attachment #8733823 -
Attachment is obsolete: true
Attachment #8734681 -
Flags: review+
Assignee | ||
Comment 13•9 years ago
|
||
Attachment #8734681 -
Attachment is obsolete: true
Attachment #8734685 -
Flags: review+
Assignee | ||
Comment 14•9 years ago
|
||
Attachment #8734680 -
Attachment is obsolete: true
Attachment #8734686 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 15•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7c6bed47abd4
https://hg.mozilla.org/integration/mozilla-inbound/rev/2706aaa4d078
Keywords: checkin-needed
Comment 16•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7c6bed47abd4
https://hg.mozilla.org/mozilla-central/rev/2706aaa4d078
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 17•9 years ago
|
||
Updated documents:
https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode
https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode
https://developer.mozilla.org/en-US/docs/Web/API/Node
Added this change to Firefox 48 for developers:
Keywords: dev-doc-needed → dev-doc-complete
Comment 18•9 years ago
|
||
The missing link to Fx 48 for devs: https://developer.mozilla.org/en-US/Firefox/Releases/48#DOM_HTML_DOM
Comment 19•9 years ago
|
||
Reopening the docs part.
Eric: there is no example in https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode and the spec table is the 2010 version (and no browser compat table) in https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode
Also in all the Node pages sidebar, isSameNode is still marked as deprecated.
Also add the bug number to the entry in Firefox 48 for developers.
Thank you.
Flags: needinfo?(eshepherd)
Keywords: dev-doc-complete → dev-doc-needed
Comment 20•9 years ago
|
||
Yeah, true! All I did was update the compatibility information -- I made no other changes to the page. I intentionally avoided making other changes because when I do, you tend to complain that I'm deviating from my deliverables by doing more than necessary to close the specific bug at hand. :)
I'll start doing more thorough updates to these pages going forward when I touch them.
Flags: needinfo?(eshepherd)
Comment 21•9 years ago
|
||
OK, all of this should now be fixed.
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•