DescriptionMake NodeIterator.detach() a no-op
Make NodeIterator.detach() a no-op as per the DOM specification:
http://dom.spec.whatwg.org/#dom-nodeiterator-detach
This makes the code simpler, and a bit more efficient.
Firefox already does this since version 22:
https://bugzilla.mozilla.org/show_bug.cgi?id=823549
However, this method is not a no-op in IE11.
R=arv@chromium.org, tkent@chromium.org
BUG=367558
TEST=fast/dom/NodeIterator/detach-no-op.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172768
Patch Set 1 #
Total comments: 6
Patch Set 2 : Take feedback into consideration #
Messages
Total messages: 9 (0 generated)
|