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

Issue 1810973004: Add the CustomElementsRegistry interface behind the flag (Closed)

Created:
4 years, 9 months ago by kojii
Modified:
4 years, 8 months ago
Reviewers:
tkent, hayato
CC:
blink-reviews, chromium-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the CustomElementsRegistry interface behind the flag This patch adds the CustomElementsRegistry interface defined in the custom elements spec[1] behind the runtime flag. The actual logic is not included in this patch. [1] http://w3c.github.io/webcomponents/spec/custom/#custom-elements-api BUG=594918 Committed: https://crrev.com/68afca08701383ce31d01bac172e90e01b149dc1 Cr-Commit-Position: refs/heads/master@{#385499}

Patch Set 1 #

Patch Set 2 : Changed to status=test #

Patch Set 3 : Add CustomElementsRegistry.define() behind the flag #

Patch Set 4 : Add test cases #

Patch Set 5 : Fixes #

Patch Set 6 : Marked WillBeGarbageCollected in IDL #

Patch Set 7 : Fixes #

Patch Set 8 : Fix non-oilpan build #

Total comments: 5

Patch Set 9 : Remove explicit from the constructor #

Patch Set 10 : Rebase (merge conflict) #

Patch Set 11 : Rebase (merge conflict) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/dom/custom/custom-elements-registry.html View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RemoteDOMWindow.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Window.idl View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (11 generated)
kojii
PTAL.
4 years, 9 months ago (2016-03-18 04:21:17 UTC) #2
hayato
lgtm
4 years, 9 months ago (2016-03-18 04:25:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810973004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810973004/1
4 years, 9 months ago (2016-03-18 04:25:55 UTC) #5
tkent
lgtm, but "experimental" status without any implementation doesn't make much sense. Do you have a ...
4 years, 9 months ago (2016-03-18 04:28:12 UTC) #6
kojii
On 2016/03/18 at 04:28:12, tkent wrote: > lgtm, but "experimental" status without any implementation doesn't ...
4 years, 9 months ago (2016-03-18 04:40:28 UTC) #7
tkent
On 2016/03/18 at 04:40:28, kojii wrote: > On 2016/03/18 at 04:28:12, tkent wrote: > > ...
4 years, 9 months ago (2016-03-18 04:44:02 UTC) #8
kojii
On 2016/03/18 at 04:44:02, tkent wrote: > > Adding a flag is ok now. But ...
4 years, 9 months ago (2016-03-18 05:08:04 UTC) #9
kojii
PTAL. Removed "WillBe" because that is required for PersistentWillBeMember IIUC to fix the non-oilpan build.
4 years, 9 months ago (2016-03-22 00:41:51 UTC) #13
hayato
https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h File third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h (right): https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h#newcode35 third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h:35: explicit CustomElementsRegistry(); explicit is not required here. https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp File ...
4 years, 9 months ago (2016-03-22 08:00:14 UTC) #14
kojii
Thank you for the prompt review. Please see inline. https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h File third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h (right): https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h#newcode35 third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h:35: ...
4 years, 9 months ago (2016-03-22 09:49:28 UTC) #15
tkent
https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp File third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp (right): https://codereview.chromium.org/1810973004/diff/150001/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp#newcode336 third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp:336: CustomElementsRegistry* RemoteDOMWindow::customElements() const On 2016/03/22 at 09:49:28, kojii wrote: ...
4 years, 9 months ago (2016-03-23 00:58:32 UTC) #16
kojii
On 2016/03/23 00:58:32, tkent wrote: > We should find sentences like "Cross-origin access to customElements ...
4 years, 9 months ago (2016-03-23 06:17:35 UTC) #17
kojii
On 2016/03/23 06:17:35, kojii wrote: > On 2016/03/23 00:58:32, tkent wrote: > > We should ...
4 years, 9 months ago (2016-03-23 06:21:20 UTC) #18
tkent
On 2016/03/23 at 06:17:35, kojii wrote: > On 2016/03/23 00:58:32, tkent wrote: > > We ...
4 years, 9 months ago (2016-03-23 06:21:34 UTC) #19
kojii
hayato@, PTAL?
4 years, 8 months ago (2016-04-05 04:23:50 UTC) #20
hayato
lgtm
4 years, 8 months ago (2016-04-05 04:32:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810973004/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810973004/170001
4 years, 8 months ago (2016-04-05 04:46:07 UTC) #24
commit-bot: I haz the power
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_compile_dbg_32_ng/builds/182100) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-05 04:49:29 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810973004/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810973004/210001
4 years, 8 months ago (2016-04-06 16:25:32 UTC) #29
commit-bot: I haz the power
Committed patchset #11 (id:210001)
4 years, 8 months ago (2016-04-06 17:43:13 UTC) #30
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 17:45:40 UTC) #32
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/68afca08701383ce31d01bac172e90e01b149dc1
Cr-Commit-Position: refs/heads/master@{#385499}

Powered by Google App Engine
This is Rietveld 408576698