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

Issue 2320553002: Custom Elements: HTMLElement constructor tests (Closed)

Created:
4 years, 3 months ago by davaajav
Modified:
4 years, 2 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Custom Elements: HTMLElement constructor tests 1. Removed constructor checks from define-element.html and add them in construct.html 2. Constructing a custom element with new should change the state to "custom". 3. Creating or upgrading an element that is an already constructed marker should throw "InvalidStateError"DOMException. However, when an element is constructed with new, the construction stack is empty the whole time, thus it will not throw "InvalidStateError". BUG=643052 Committed: https://crrev.com/6147d4d4ffe38e7b0d292677e9c309b5b3509dab Cr-Commit-Position: refs/heads/master@{#422031}

Patch Set 1 #

Patch Set 2 : adding failure expectation #

Patch Set 3 : upgrade already constructed test update #

Patch Set 4 : patch update #

Total comments: 1

Patch Set 5 : new already constructed from bad to good #

Total comments: 2

Patch Set 6 : wraping up long stringl literal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -36 lines) Patch
M third_party/WebKit/LayoutTests/custom-elements/spec/construct.html View 1 2 3 4 5 2 chunks +73 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html View 1 chunk +0 lines, -36 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
davaajav
PTL
4 years, 3 months ago (2016-09-07 10:29:57 UTC) #2
dominicc (has gone to gerrit)
On 2016/09/07 at 10:29:57, davaajav wrote: > PTL It's great you're cleaning up define-element.html. A ...
4 years, 3 months ago (2016-09-07 16:18:12 UTC) #3
davaajav
PTL Oops, Indeed we have committed something like that, fixed that. Also, fixed spell errors ...
4 years, 3 months ago (2016-09-08 02:03:29 UTC) #5
dominicc (has gone to gerrit)
Excellent work. One question about one of the tests inline, I think one test may ...
4 years, 3 months ago (2016-09-08 04:13:22 UTC) #6
davaajav
> Can you point to the key points in the spec that mean this should ...
4 years, 3 months ago (2016-09-08 05:00:38 UTC) #7
dominicc (has gone to gerrit)
On 2016/09/08 at 05:00:38, davaajav wrote: > > Can you point to the key points ...
4 years, 3 months ago (2016-09-12 05:36:06 UTC) #9
davaajav
> Is this ready for another review now? Yes, please take a look.
4 years, 3 months ago (2016-09-12 05:58:09 UTC) #10
dominicc (has gone to gerrit)
Splendid, LGTM. Please fix the one long line and then this is set to commit! ...
4 years, 3 months ago (2016-09-13 08:27:32 UTC) #11
davaajav
PTL Wrapped up the long string literal.
4 years, 3 months ago (2016-09-15 02:14:31 UTC) #12
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/2320553002/100001
4 years, 2 months ago (2016-09-30 04:45:58 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-30 04:51:06 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 04:52:35 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6147d4d4ffe38e7b0d292677e9c309b5b3509dab
Cr-Commit-Position: refs/heads/master@{#422031}

Powered by Google App Engine
This is Rietveld 408576698