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

Issue 2441943002: Retrieve prototype during custom element construction. (Closed)

Created:
4 years, 2 months ago by dominicc (has gone to gerrit)
Modified:
4 years, 1 month ago
Reviewers:
haraken, bashi
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Retrieve prototype during custom element construction. BUG=649158, 658066 Committed: https://crrev.com/8e2ff264b2d6eaddcf5546b83bb382dd91ae833e Cr-Commit-Position: refs/heads/master@{#427333}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Feedback. #

Total comments: 3

Patch Set 3 : Update after https://codereview.chromium.org/2443543002 #

Messages

Total messages: 29 (13 generated)
dominicc (has gone to gerrit)
PTAL
4 years, 2 months ago (2016-10-21 03:29:25 UTC) #4
haraken
https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode28 third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp:28: ScriptState* scriptState = ScriptState::current(isolate); Add: if (!scriptState->contextIsValid()) return; https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode46 ...
4 years, 2 months ago (2016-10-21 04:13:07 UTC) #8
dominicc (has gone to gerrit)
Thanks for the review. All done, PTAL. https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode71 third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp:71: v8::TryCatch tryCatch(isolate); ...
4 years, 2 months ago (2016-10-21 05:18:15 UTC) #11
bashi
https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode71 third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp:71: v8::TryCatch tryCatch(isolate); On 2016/10/21 05:18:14, dominicc wrote: > On ...
4 years, 2 months ago (2016-10-21 05:25:13 UTC) #12
dominicc (has gone to gerrit)
On 2016/10/21 at 05:25:13, bashi wrote: > https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp > File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): > > https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode71 ...
4 years, 2 months ago (2016-10-21 05:47:40 UTC) #13
bashi
https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): https://codereview.chromium.org/2441943002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode83 third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp:83: if (!prototype->IsObject()) { On 2016/10/21 05:18:14, dominicc wrote: > ...
4 years, 2 months ago (2016-10-21 05:59:17 UTC) #14
haraken
LGTM https://codereview.chromium.org/2441943002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): https://codereview.chromium.org/2441943002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode31 third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp:31: V8ThrowException::throwError(isolate, "The context has been destroyed"); Just to ...
4 years, 2 months ago (2016-10-21 08:36:06 UTC) #17
yurak
On 2016/10/21 at 08:36:06, haraken wrote: > LGTM > https://codereview.chromium.org/2441943002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp#newcode45 > third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp:45: &V8HTMLElement::wrapperTypeInfo); > > ...
4 years, 2 months ago (2016-10-21 09:34:50 UTC) #18
dominicc (has gone to gerrit)
On 2016/10/21 at 09:34:50, yurak wrote: > On 2016/10/21 at 08:36:06, haraken wrote: > > ...
4 years, 2 months ago (2016-10-24 01:17:54 UTC) #19
dominicc (has gone to gerrit)
On 2016/10/21 at 08:36:06, haraken wrote: > LGTM > > https://codereview.chromium.org/2441943002/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp > File third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp (right): ...
4 years, 2 months ago (2016-10-24 01:19:40 UTC) #20
haraken
On 2016/10/24 01:19:40, dominicc wrote: > On 2016/10/21 at 08:36:06, haraken wrote: > > LGTM ...
4 years, 2 months ago (2016-10-24 05:22:45 UTC) #21
dominicc (has gone to gerrit)
On 2016/10/24 at 05:22:45, haraken wrote: > On 2016/10/24 01:19:40, dominicc wrote: > > On ...
4 years, 1 month ago (2016-10-25 08:25:56 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/2441943002/40001
4 years, 1 month ago (2016-10-25 12:12:19 UTC) #25
haraken
On 2016/10/25 08:25:56, dominicc wrote: > On 2016/10/24 at 05:22:45, haraken wrote: > > On ...
4 years, 1 month ago (2016-10-25 12:30:08 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-25 13:23:51 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 13:25:43 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8e2ff264b2d6eaddcf5546b83bb382dd91ae833e
Cr-Commit-Position: refs/heads/master@{#427333}

Powered by Google App Engine
This is Rietveld 408576698