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

Issue 1372513002: 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
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store |detail| as a hidden value of custom event wrappers 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/bf91b3e9e1355a0d2dacd2efcdf4d971bd5c1e87 Cr-Commit-Position: refs/heads/master@{#351242}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Messages

Total messages: 21 (6 generated)
bashi
Even an empty constructor (I commented out the custom constructor in the PS#1), following code ...
5 years, 2 months ago (2015-09-25 08:52:13 UTC) #2
bashi
On 2015/09/25 08:52:13, bashi1 wrote: > Even an empty constructor (I commented out the custom ...
5 years, 2 months ago (2015-09-25 09:42:34 UTC) #3
haraken
Mostly looks good. https://codereview.chromium.org/1372513002/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/1372513002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp#newcode92 third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp:92: } Just to confirm: The line ...
5 years, 2 months ago (2015-09-25 10:08:10 UTC) #4
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-09-25 11:23:06 UTC) #5
bashi
https://codereview.chromium.org/1372513002/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/1372513002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp#newcode92 third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp:92: } On 2015/09/25 10:08:10, haraken wrote: > > Just ...
5 years, 2 months ago (2015-09-28 05:22:57 UTC) #6
haraken
LGTM
5 years, 2 months ago (2015-09-28 05:28:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372513002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372513002/40001
5 years, 2 months ago (2015-09-28 05:29:56 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/118789)
5 years, 2 months ago (2015-09-28 06:38:07 UTC) #12
bashi
https://codereview.chromium.org/1372513002/diff/60001/third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt File third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt (right): https://codereview.chromium.org/1372513002/diff/60001/third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt#newcode11 third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt:11: FAIL CustomEvent.length should be 1. Was 0. Using custom ...
5 years, 2 months ago (2015-09-29 00:07:10 UTC) #13
haraken
https://codereview.chromium.org/1372513002/diff/60001/third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt File third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt (right): https://codereview.chromium.org/1372513002/diff/60001/third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt#newcode11 third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt:11: FAIL CustomEvent.length should be 1. Was 0. On 2015/09/29 ...
5 years, 2 months ago (2015-09-29 00:18:52 UTC) #14
bashi
On 2015/09/29 00:18:52, haraken wrote: > https://codereview.chromium.org/1372513002/diff/60001/third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt > File third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt > (right): > > https://codereview.chromium.org/1372513002/diff/60001/third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt#newcode11 ...
5 years, 2 months ago (2015-09-29 00:21:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372513002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372513002/60001
5 years, 2 months ago (2015-09-29 00:22:47 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-09-29 02:27:54 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/bf91b3e9e1355a0d2dacd2efcdf4d971bd5c1e87 Cr-Commit-Position: refs/heads/master@{#351242}
5 years, 2 months ago (2015-09-29 02:28:41 UTC) #20
Xianzhu
5 years, 2 months ago (2015-10-01 18:38:47 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1383603004/ by wangxianzhu@chromium.org.

The reason for reverting is: It caused release blocking bug 537567.

BUG=537567.

Powered by Google App Engine
This is Rietveld 408576698