Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Issue 2697923005: Remove unnecessary override of Node#cloneNode in ShadowRoot's WebIDL (Closed)

Created:
3 years, 10 months ago by hayato
Modified:
3 years, 10 months ago
Reviewers:
tkent, foolip
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary override of Node#cloneNode in ShadowRoot's WebIDL ShadowRoot's WebIDL does not have to override Node's cloneNode(). That exists for a historical reason, which is no longer valid. Align Node's WebIDL to have [RaisesException]. BUG=692665 Review-Url: https://codereview.chromium.org/2697923005 Cr-Commit-Position: refs/heads/master@{#451259} Committed: https://chromium.googlesource.com/chromium/src/+/050bd3b819cc8502db03e3b70f97e951c66e4857

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed #

Patch Set 3 : updated {mac,win} global-interface-listing-expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -35 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Attr.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Attr.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Comment.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Comment.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentFragment.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentFragment.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentType.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ProcessingInstruction.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Text.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Text.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTemplateElement.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTemplateElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (18 generated)
hayato
PTAL
3 years, 10 months ago (2017-02-16 09:43:26 UTC) #6
foolip
lgtm % nit https://codereview.chromium.org/2697923005/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h (right): https://codereview.chromium.org/2697923005/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h#newcode176 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h:176: // Node* cloneNode(bool, ExceptionState&) override { ...
3 years, 10 months ago (2017-02-16 13:56:12 UTC) #11
tkent
Please update the results of webexposed/global-interface-listing.html.
3 years, 10 months ago (2017-02-17 01:50:43 UTC) #12
hayato
addressed
3 years, 10 months ago (2017-02-17 05:07:26 UTC) #13
hayato
Thank you for the reviews. I have updated webexposed/global-interface-listing.html. https://codereview.chromium.org/2697923005/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h (right): https://codereview.chromium.org/2697923005/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h#newcode176 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h:176: ...
3 years, 10 months ago (2017-02-17 05:09:14 UTC) #16
tkent
You need to update LayoutTests/platform/{mac,win}/virtual/stable/webexposed/global-interface-listing-expected.txt too.
3 years, 10 months ago (2017-02-17 05:12:58 UTC) #17
hayato
updated {mac,win} global-interface-listing-expected.txt
3 years, 10 months ago (2017-02-17 05:54:34 UTC) #18
hayato
DONE.
3 years, 10 months ago (2017-02-17 05:55:49 UTC) #21
tkent
lgtm
3 years, 10 months ago (2017-02-17 06:09:29 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2697923005/40001
3 years, 10 months ago (2017-02-17 06:14:28 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 07:14:31 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/050bd3b819cc8502db03e3b70f97...

Powered by Google App Engine
This is Rietveld 408576698