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

Issue 1383543004: Reland: Store |detail| as a hidden value of custom event wrappers (Closed)

Created:
5 years, 2 months ago by bashi
Modified:
5 years, 2 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, vivekg, blink-reviews-bindings_chromium.org, Inactive, vivekg_samsung
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Store |detail| as a hidden value of custom event wrappers The original CL was reverted because it broke google image search. This CL stores |detail| as a hidden value when initCustomEvent() is called instead of serializing it. Original description: We cannot hold strong references from Blink to V8. This means that we shouldn't use ScriptValue in DOM impl objects. To stop using ScriptValue in CustomEvent, store |detail| as a hidden value of custom event wrappers and return it when the getter of |detail| is called. BUG=529941 Committed: https://crrev.com/ce8a2dfe58ba9c8a9fe999124a5a7eaabf1e0851 Cr-Commit-Position: refs/heads/master@{#352490}

Patch Set 1 #

Patch Set 2 : Diff from the original CL #

Total comments: 2

Patch Set 3 : assert #

Patch Set 4 : #

Messages

Total messages: 14 (6 generated)
bashi
PTAL? PS#1 is the original CL PS#2 contains the fix of bug 537567
5 years, 2 months ago (2015-10-01 23:37:23 UTC) #2
haraken
LGTM, thanks for the quick fix! https://codereview.chromium.org/1383543004/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp File third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp (right): https://codereview.chromium.org/1383543004/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp#newcode103 third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp:103: v8::Local<v8::Value> detail = ...
5 years, 2 months ago (2015-10-01 23:43:13 UTC) #3
bashi
Thanks! https://codereview.chromium.org/1383543004/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp File third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp (right): https://codereview.chromium.org/1383543004/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp#newcode103 third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp:103: v8::Local<v8::Value> detail = info[3]; On 2015/10/01 23:43:12, haraken ...
5 years, 2 months ago (2015-10-01 23:52:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1383543004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1383543004/40001
5 years, 2 months ago (2015-10-01 23:53:23 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/115459)
5 years, 2 months ago (2015-10-02 00:03:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1383543004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1383543004/60001
5 years, 2 months ago (2015-10-06 00:32:46 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-06 00:42:38 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 00:44:07 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ce8a2dfe58ba9c8a9fe999124a5a7eaabf1e0851
Cr-Commit-Position: refs/heads/master@{#352490}

Powered by Google App Engine
This is Rietveld 408576698