Chromium Code Reviews
DescriptionRemove RefPtr<ScriptState> from PromiseRejectionEvent
RefPtr<ScriptState> stored in a DOM object has a risk of leaking ScriptStates
to another world (see the bug for more details). This CL replaces
PromiseRejectionEvent::m_scriptState with PromiseRejectionEvent::m_world.
This matches what we're doing for ErrorEvent.
BUG=669812
Committed: https://crrev.com/05528ffaebde3c6b3534001096dcbdcc4814a931
Cr-Commit-Position: refs/heads/master@{#435882}
Patch Set 1 #
Total comments: 1
Patch Set 2 : temp #
Total comments: 1
Patch Set 3 : temp #
Messages
Total messages: 12 (4 generated)
|
||||||||||||||||||||||||||||