DescriptionAdd ScriptWrappable::hasPendingActivity to ScriptProcessorNode
|onaudioprocess| event in ScriptProcessor node is not fired once the JS
reference of the node goes out of local scope.
This CL is to keep the 'out-of-scope' reference from being collected when
it has an active |onaudioprocess| handler.
With this patch, scriptprocessornode-premature-death.html is now correctly passing. Thus the expected text was fixed accordingly.
BUG=577431, 500335, 360378, 121654, 82795
TEST=LayoutTests/webaudio/scriptprocessornode-premature-death.html (revised expected file)
Committed: https://crrev.com/246a91f12971f2f6e4ba0b68fdbf5efa8afb344e
Cr-Commit-Position: refs/heads/master@{#379586}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Removed the manual test and fixed the exisiting automated test #
Messages
Total messages: 22 (9 generated)
|