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

Issue 1901403002: Remove UserAgent ShadowRoot + Author ShadowRoot code. (Closed)

Created:
4 years, 8 months ago by tkent
Modified:
4 years, 8 months ago
Reviewers:
hayato, yosin_UTC9, kochi
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove UserAgent ShadowRoot + Author ShadowRoot code. The code is not used since crrev.com/378921. This CL removes Element::willAddFirstAuthorShadowRoot, which was added to support this feature. This CL adds ShadowRootType stream printer because ShadowRootType is used in DCHECK_NE(). BUG=489947 Committed: https://crrev.com/d1f4ffde531b13089a1ec74bc1e2509bafca85a9 Cr-Commit-Position: refs/heads/master@{#388634}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Wrap operator<< with DCHECK_IS_ON() #

Patch Set 3 : Fix Element::createShadowRoot, update some tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -91 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-selection-detach-crash.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-selection-detach-crash-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-output-complex-shadow.html View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-output-complex-shadow-expected.html View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-output-without-shadow.html View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-output-without-shadow-expected.html View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp View 1 chunk +3 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp View 1 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 2 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp View 2 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
tkent
kochi@ or hayato@, would you review this please?
4 years, 8 months ago (2016-04-20 07:32:12 UTC) #3
kochi
On 2016/04/20 07:32:12, tkent wrote: > kochi@ or hayato@, would you review this please?
4 years, 8 months ago (2016-04-20 07:46:52 UTC) #5
kochi
On 2016/04/20 07:46:52, kochi wrote: > On 2016/04/20 07:32:12, tkent wrote: > > kochi@ or ...
4 years, 8 months ago (2016-04-20 07:47:08 UTC) #6
hayato
LGTM We do not have any layout tests for that?
4 years, 8 months ago (2016-04-20 07:51:11 UTC) #7
hayato
On 2016/04/20 at 07:51:11, hayato wrote: > LGTM > > We do not have any ...
4 years, 8 months ago (2016-04-20 07:52:28 UTC) #8
kochi
lgtm
4 years, 8 months ago (2016-04-20 07:57:22 UTC) #9
kochi
https://codereview.chromium.org/1901403002/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp (right): https://codereview.chromium.org/1901403002/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp#newcode354 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp:354: std::ostream& operator<<(std::ostream& ostream, const ShadowRootType& type) Can this be ...
4 years, 8 months ago (2016-04-20 08:21:07 UTC) #10
tkent
https://codereview.chromium.org/1901403002/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp (right): https://codereview.chromium.org/1901403002/diff/1/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp#newcode354 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp:354: std::ostream& operator<<(std::ostream& ostream, const ShadowRootType& type) On 2016/04/20 at ...
4 years, 8 months ago (2016-04-20 08:31:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901403002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901403002/20001
4 years, 8 months ago (2016-04-20 08:31:49 UTC) #14
tkent
Please take another look. I found some tests failed, and Element::createShadowRoot didn't work for alwaysCreateUserAgentShadowRoot() ...
4 years, 8 months ago (2016-04-20 09:06:57 UTC) #18
kochi
lgtm
4 years, 8 months ago (2016-04-20 09:25:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901403002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901403002/60001
4 years, 8 months ago (2016-04-20 21:47:53 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-21 00:28:49 UTC) #23
Ken Russell (switch to Gerrit)
On 2016/04/21 00:28:49, commit-bot: I haz the power wrote: > Committed patchset #3 (id:60001) This ...
4 years, 8 months ago (2016-04-21 01:23:41 UTC) #24
tkent
On 2016/04/21 at 01:23:41, kbr wrote: > This caused this build breakage: > https://build.chromium.org/p/chromium.gpu/builders/GPU%20Win%20Builder/builds/43016 > ...
4 years, 8 months ago (2016-04-21 01:56:21 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:28:55 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d1f4ffde531b13089a1ec74bc1e2509bafca85a9
Cr-Commit-Position: refs/heads/master@{#388634}

Powered by Google App Engine
This is Rietveld 408576698