DescriptionReland: 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)
|