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

Issue 1916013004: Implement PotentialCustomElementName (Closed)

Created:
4 years, 8 months ago by kojii
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, kinuko+watch, 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

Implement PotentialCustomElementName This patch implements PotentialCustomElementName, which is part of validating custom element name. A valid custom element name must be PotentialCustomElementName and also exclude all hyphen-containing element names. It will be in a following patch. Spec: https://html.spec.whatwg.org/multipage/scripting.html#prod-potentialcustomelementname BUG=594918 Committed: https://crrev.com/6b316d166bc70f33bd342a00236a8adda68994ef Cr-Commit-Position: refs/heads/master@{#390039}

Patch Set 1 #

Patch Set 2 : Minor editorial changes #

Total comments: 21

Patch Set 3 : dominicc review #

Total comments: 12

Patch Set 4 : tkent review #

Messages

Total messages: 23 (9 generated)
kojii
PTAL.
4 years, 8 months ago (2016-04-27 01:16:01 UTC) #3
dominicc (has gone to gerrit)
On 2016/04/27 at 01:16:01, kojii wrote: > PTAL. Nice work, some comments inline.
4 years, 8 months ago (2016-04-27 01:41:29 UTC) #4
dominicc (has gone to gerrit)
https://codereview.chromium.org/1916013004/diff/20001/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp File third_party/WebKit/Source/core/dom/custom/CustomElement.cpp (right): https://codereview.chromium.org/1916013004/diff/20001/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp#newcode23 third_party/WebKit/Source/core/dom/custom/CustomElement.cpp:23: if (ch == '-') Maybe hasHyphens |= ch == ...
4 years, 8 months ago (2016-04-27 01:42:14 UTC) #5
kojii
Thank you for the prompt review. Replies inline. https://codereview.chromium.org/1916013004/diff/20001/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp File third_party/WebKit/Source/core/dom/custom/CustomElement.cpp (right): https://codereview.chromium.org/1916013004/diff/20001/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp#newcode23 third_party/WebKit/Source/core/dom/custom/CustomElement.cpp:23: if ...
4 years, 8 months ago (2016-04-27 03:52:14 UTC) #7
dominicc (has gone to gerrit)
lgtm Will we ever call isPotentialCustomElementName and *not* isValidCustomElementName? I think we probably want these ...
4 years, 8 months ago (2016-04-27 05:29:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1916013004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1916013004/40001
4 years, 8 months ago (2016-04-27 05:29:42 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/173728)
4 years, 8 months ago (2016-04-27 05:40:18 UTC) #12
kojii
tkent@, PTAL for platform
4 years, 8 months ago (2016-04-27 08:11:55 UTC) #14
tkent
https://codereview.chromium.org/1916013004/diff/40001/third_party/WebKit/Source/core/core.gypi File third_party/WebKit/Source/core/core.gypi (right): https://codereview.chromium.org/1916013004/diff/40001/third_party/WebKit/Source/core/core.gypi#newcode2670 third_party/WebKit/Source/core/core.gypi:2670: 'dom/custom/CustomElement.cpp', File list in dom/custom/ isn't sorted though it ...
4 years, 8 months ago (2016-04-27 08:21:18 UTC) #15
kojii
https://codereview.chromium.org/1916013004/diff/40001/third_party/WebKit/Source/core/core.gypi File third_party/WebKit/Source/core/core.gypi (right): https://codereview.chromium.org/1916013004/diff/40001/third_party/WebKit/Source/core/core.gypi#newcode2670 third_party/WebKit/Source/core/core.gypi:2670: 'dom/custom/CustomElement.cpp', On 2016/04/27 at 08:21:18, tkent wrote: > File ...
4 years, 8 months ago (2016-04-27 08:45:21 UTC) #16
tkent
lgtm
4 years, 8 months ago (2016-04-27 08:46:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1916013004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1916013004/60001
4 years, 8 months ago (2016-04-27 10:15:02 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-27 10:23:17 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-27 10:24:18 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6b316d166bc70f33bd342a00236a8adda68994ef
Cr-Commit-Position: refs/heads/master@{#390039}

Powered by Google App Engine
This is Rietveld 408576698