Add 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)

Review URL: https://codereview.chromium.org/1762103002

Cr-Commit-Position: refs/heads/master@{#379586}
4 files changed