Description[Fetch API] Remove HandleScope to protect local handles
BodyStreamBuffer, Request and Response constructors create their
JS wrappers to keep the weak reference to ReadableStream implemented
with V8 extras. Currently these constructors have ScriptState::Scope
and that means that the created JS wrappers would be protected only
in the scope (via v8::HandleScope).
This CL removes some ScriptState::Scopes so that local handles will
be protected by wider v8::HandleScopes.
BUG=617864
Committed: https://crrev.com/6e5425bcac204ed0892ce8368cd8746526b66a2d
Cr-Commit-Position: refs/heads/master@{#405451}
Patch Set 1 #Patch Set 2 : fix #
Total comments: 2
Patch Set 3 : fix #
Total comments: 4
Patch Set 4 : fix #Patch Set 5 : fix #
Total comments: 2
Patch Set 6 : fix #Messages
Total messages: 23 (12 generated)
|