DescriptionRemove Context::Scope from visitDOMWrapper
visitDOMWrapper should not create a Context::Scope.
Alternately, it should visit wrappers of all worlds
(currently the binding layer is assuming that wrappers of all worlds
are kept alive if any of the wrappers is alive).
Also it is important to remove the Context::Scope because if DOM has a long reference chain
to be visited, the Context::Scopes created on the stack can overflow and cause crashes.
BUG=455160, 610340
Committed: https://crrev.com/b1b2e5dd2b1f6c4b314a813987724812e13fbc18
Cr-Commit-Position: refs/heads/master@{#393492}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Messages
Total messages: 32 (15 generated)
|