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

Issue 2424693002: Custom Elements: Complete HTMLConstructor Algorithm (Closed)

Created:
4 years, 2 months ago by yurak
Modified:
4 years, 1 month ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, dominicc+watchlist_chromium.org, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Complete HTMLConstructor algorithm, based off Issue#2386563002 by davaajav. Depends on Issue#2419383002. Completed HTMLConstructor algorithm, modified custom element definition algorithm /bindings/core/v8/V8HTMLConstructor.cpp /core/dom/custom/CustomElementRegistry.cpp Added HTMLConstructor extended attribute to HTML element IDLS: HTMLDivElement.idl HTMLParagraphElement.idl Created separate class for HTMLConstructor /bindings/bindings.gni /bindings/core/v8/V8HTMLConstructor.cpp /bindings/core/v8/V8HTMLConstructor.h /bindings/scripts/v8_interface.py /bindings/templates/interface.cpp.tmpl /bindings/templates/interface.h.tmpl Updated custom-elements tests and expected results. The changes should allow Layout test imported/wpt/custom-elements/htmlconstructor/newtarget.html to pass, but it's buggy. Bug fix for test here: https://github.com/w3c/web-platform-tests/commit/ac12d9a15df23cf25cbfb904902dad2bd6dfdf6a BUG=648828 Committed: https://crrev.com/e8d4a1b8a06a252894820686f1570f5943bb5947 Cr-Commit-Position: refs/heads/master@{#428286}

Patch Set 1 #

Patch Set 2 : Complete HTMLConstructor algorithm, modify custom element define algorithm #

Patch Set 3 : Added HTMLConstructor extended attribute to HTML element IDLs #

Patch Set 4 : Created separate class for HTMLConstructor #

Patch Set 5 : Updated expected test results #

Total comments: 5

Patch Set 6 : Updated expected test results #

Total comments: 1

Patch Set 7 : New enum naming scheme #

Total comments: 3

Patch Set 8 : HTMLConstructor on a few element IDLs #

Patch Set 9 : git status #

Patch Set 10 : HTMLConstructor on a few element IDLs #

Patch Set 11 : Merge conflicts resolved #

Patch Set 12 : Merge conflicts resolved #

Patch Set 13 : Redefinition guard #

Patch Set 14 : Redefinition guard #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -148 lines) Patch
M third_party/WebKit/LayoutTests/custom-elements/spec/define-builtin-element.html View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/custom-elements/spec/define-builtin-element-expected.txt View 1 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/wpt/custom-elements/custom-element-registry/define-expected.txt View 1 2 3 4 1 chunk +0 lines, -102 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.md View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/bindings.gni View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp View 1 2 3 4 5 6 7 8 9 10 6 chunks +44 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h.tmpl View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp View 1 2 3 4 5 6 7 3 chunks +15 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLDivElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLParagraphElement.idl View 1 2 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (17 generated)
dominicc (has gone to gerrit)
Excellent work; some feedback inline. I didn't see any interfaces with Constructor, ConstructorCustom at a ...
4 years, 2 months ago (2016-10-21 02:30:07 UTC) #7
yurak
On 2016/10/21 at 02:30:07, dominicc wrote: > https://codereview.chromium.org/2424693002/diff/80001/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp > File third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp (right): > > https://codereview.chromium.org/2424693002/diff/80001/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp#newcode173 ...
4 years, 2 months ago (2016-10-21 05:57:33 UTC) #9
yurak
PTL
4 years, 2 months ago (2016-10-21 06:10:43 UTC) #10
dominicc (has gone to gerrit)
On 2016/10/21 at 06:10:43, yurak wrote: > PTL Looks pretty good. There are some parts ...
4 years, 2 months ago (2016-10-24 03:03:57 UTC) #11
yurak
On 2016/10/24 at 03:03:57, dominicc wrote: > On 2016/10/21 at 06:10:43, yurak wrote: > > ...
4 years, 2 months ago (2016-10-24 03:57:29 UTC) #12
dominicc (has gone to gerrit)
Some brief comments inline. https://codereview.chromium.org/2424693002/diff/100001/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp File third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp (right): https://codereview.chromium.org/2424693002/diff/100001/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp#newcode173 third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp:173: // ElementDefinitionIsRunning destructor(m_elementDefinitionIsRunning); Time to ...
4 years, 1 month ago (2016-10-25 04:30:17 UTC) #13
yurak
Made suggested changes and resolved merge conflicts. PTL :)
4 years, 1 month ago (2016-10-26 02:48:54 UTC) #16
haraken
LGTM
4 years, 1 month ago (2016-10-26 08:14:55 UTC) #17
dominicc (has gone to gerrit)
lgtm
4 years, 1 month ago (2016-10-27 04:52:29 UTC) #19
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/2424693002/200001
4 years, 1 month ago (2016-10-27 04:52:48 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/168884)
4 years, 1 month ago (2016-10-27 05:32:26 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/2424693002/260001
4 years, 1 month ago (2016-10-27 06:13:05 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/325678)
4 years, 1 month ago (2016-10-27 07:57:32 UTC) #27
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/2424693002/260001
4 years, 1 month ago (2016-10-28 03:42:25 UTC) #30
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 1 month ago (2016-10-28 05:00:35 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 05:03:36 UTC) #33
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/e8d4a1b8a06a252894820686f1570f5943bb5947
Cr-Commit-Position: refs/heads/master@{#428286}

Powered by Google App Engine
This is Rietveld 408576698