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

Issue 2443543002: createElement should not transmit exceptions but report them. (Closed)

Created:
4 years, 2 months ago by dominicc (has gone to gerrit)
Modified:
4 years, 1 month ago
Reviewers:
haraken, kojii
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_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

createElement should not transmit exceptions but report them. BUG=652157, 658066 Committed: https://crrev.com/a21493ce8e12e552cd51c85523d451357bd427e1 Cr-Commit-Position: refs/heads/master@{#427306}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Feedback. #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebaseline tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -148 lines) Patch
M third_party/WebKit/LayoutTests/custom-elements/spec/construct.html View 2 chunks +9 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/custom-elements/spec/create-element-defined-synchronous.html View 5 chunks +19 lines, -22 lines 0 comments Download
M third_party/WebKit/LayoutTests/custom-elements/spec/report-the-exception.html View 4 chunks +21 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/custom-elements/spec/resources/custom-elements-helpers.js View 1 chunk +22 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/wpt/custom-elements/Document-createElement-expected.txt View 1 2 3 4 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h View 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp View 1 2 chunks +39 lines, -46 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 4 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElement.h View 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElement.cpp View 1 chunk +2 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (23 generated)
dominicc (has gone to gerrit)
PTAL Our tests could use some clean-up but for now I'm just trying to update ...
4 years, 2 months ago (2016-10-21 08:37:03 UTC) #4
kojii
non-owner lgtm. Great to have less code paths, thanks to the spec change!
4 years, 2 months ago (2016-10-21 14:37:39 UTC) #7
haraken
https://codereview.chromium.org/2443543002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp (right): https://codereview.chromium.org/2443543002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp#newcode163 third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp:163: HTMLElement* ScriptCustomElementDefinition::handleCreateElementSyncException( Do you know why the spec requires ...
4 years, 2 months ago (2016-10-23 22:49:20 UTC) #9
dominicc (has gone to gerrit)
PTAL Fixed the context check, not sure what else is needed so put some context ...
4 years, 2 months ago (2016-10-24 01:15:06 UTC) #12
kojii
On 2016/10/24 at 01:15:06, dominicc wrote: > Re: V8ScriptRunner--It does look hacky. What does V8ScriptRunner::throwException ...
4 years, 1 month ago (2016-10-24 02:40:20 UTC) #13
haraken
On 2016/10/24 02:40:20, kojii wrote: > On 2016/10/24 at 01:15:06, dominicc wrote: > > Re: ...
4 years, 1 month ago (2016-10-24 05:26:32 UTC) #16
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/2443543002/60001
4 years, 1 month ago (2016-10-25 04:30:44 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/318274)
4 years, 1 month ago (2016-10-25 05:46:31 UTC) #23
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/2443543002/80001
4 years, 1 month ago (2016-10-25 08:26:35 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-25 09:45:20 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 09:47:41 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a21493ce8e12e552cd51c85523d451357bd427e1
Cr-Commit-Position: refs/heads/master@{#427306}

Powered by Google App Engine
This is Rietveld 408576698