|
|
Created:
5 years, 3 months ago by pals Modified:
5 years, 2 months ago CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionDrop unnecessary ancestor traversal in Range::selectNode().
It traversed the ancestors to throw a INVALID_NODE_TYPE_ERR if one of them was a DocumentType Node. However, it is impossible for a DocumentType Node to have children.
Picked from webkit https://trac.webkit.org/changeset/190145
No new tests, covered by existing tests.
BUG=None
Committed: https://crrev.com/33c1357fd8454b712f316958555df0de7f24476b
Cr-Commit-Position: refs/heads/master@{#351046}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed the comment #Patch Set 3 : rebased wrt chromium repo #Messages
Total messages: 24 (11 generated)
sanjoy.pal@samsung.com changed reviewers: + chirshtr@chromium.org
sanjoy.pal@samsung.com changed reviewers: + ager@chromium.org - chirshtr@chromium.org
PTAL. Thanks
sigbjornf@opera.com changed reviewers: + sigbjornf@opera.com
https://codereview.chromium.org/1363833002/diff/1/Source/core/dom/Range.cpp File Source/core/dom/Range.cpp (right): https://codereview.chromium.org/1363833002/diff/1/Source/core/dom/Range.cpp#n... Source/core/dom/Range.cpp:1083: // INVALID_NODE_TYPE_ERR: Raised if refNode is a Document, DocumentFragment or Attr node. InvalidNodeTypeError, not INVALID_NODE_TYPE_ERR, but the comment doesn't add any value, so just remove it.
Removed the comment. Please review. https://codereview.chromium.org/1363833002/diff/1/Source/core/dom/Range.cpp File Source/core/dom/Range.cpp (right): https://codereview.chromium.org/1363833002/diff/1/Source/core/dom/Range.cpp#n... Source/core/dom/Range.cpp:1083: // INVALID_NODE_TYPE_ERR: Raised if refNode is a Document, DocumentFragment or Attr node. On 2015/09/23 10:01:39, sof wrote: > InvalidNodeTypeError, not INVALID_NODE_TYPE_ERR, but the comment doesn't add any > value, so just remove it. Done.
lgtm
The CQ bit was checked by sanjoy.pal@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363833002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by sanjoy.pal@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363833002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by sanjoy.pal@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363833002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_andr...) linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by sanjoy.pal@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from sigbjornf@opera.com Link to the patchset: https://codereview.chromium.org/1363833002/#ps40001 (title: "rebased wrt chromium repo")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363833002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363833002/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/33c1357fd8454b712f316958555df0de7f24476b Cr-Commit-Position: refs/heads/master@{#351046} |