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

Issue 2303193002: Add DCHECKs for catching inconsistent custom element state (Closed)

Created:
4 years, 3 months ago by kochi
Modified:
4 years, 3 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch, kojii, loading-reviews+parser_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add DCHECKs for catching inconsistent custom element state Without the bug fix by https://codereview.chromium.org/2297853006, in the synchronous element creation path, an element could become "custom" state without its definition. Adding DCHECKs to catch any regression for the case. With the previous bugfix rolled back, the following tests crashed with these DCHECKs. custom-elements/imports/attribute-changed-callback.html custom-elements/imports/sync-create-element-order.html BUG=642839 Committed: https://crrev.com/bc636d23f40160f384f451a91c265aa1bbe2915b Cr-Commit-Position: refs/heads/master@{#416211}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
kochi
PTAL
4 years, 3 months ago (2016-09-02 06:38:51 UTC) #5
dominicc (has gone to gerrit)
lgtm
4 years, 3 months ago (2016-09-02 07:49:35 UTC) #9
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/2303193002/1
4 years, 3 months ago (2016-09-02 07:49:52 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-02 07:52:50 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 07:55:29 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bc636d23f40160f384f451a91c265aa1bbe2915b
Cr-Commit-Position: refs/heads/master@{#416211}

Powered by Google App Engine
This is Rietveld 408576698