ServiceWorkerRegistration::unregister returns false when the registration is already unregistered. (1/3)

1. [Blink] this patch
2. [Chromium] https://codereview.chromium.org/554573002/
3. [Blink] https://codereview.chromium.org/550093002/

BUG=390894
TEST=run_webkit_tests.py http/tests/serviceworker/unregister.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181692 bbb929c8-8fbe-4397-9dbb-9b2b20218538
AudioNodeOutput::enable() and AudioNodeOutput::disable() should not be reentered

AudioNodeOutput::disable() can be reentered and causes the following crash.

ASSERTION FAILED: m_outputs.contains(&output)
../../third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp(98) : void blink::AudioNodeInput::disable(blink::AudioNodeOutput &)
Received signal 11 SEGV_MAPERR 0000fbadbeef

To avoid AudioNodeOutput::disable() from getting reentered, this CL moves the place
of flipping m_isEnabled.

The same issue is in AudioNodeOutput::enable() and this CL addresses the issue as well.

BUG=411989
TEST=None, it's hard to create a simple test html that reproduces the bug.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181693 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add HandleScopes to V8DOMActivityLogger's methods

Since these V8DOMActivityLogger's methods can be called from core/
(not via bindings/), it makes sense to allocate a new HandleScope
in these methods.

BUG=411445
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181694 bbb929c8-8fbe-4397-9dbb-9b2b20218538