Commit 5dc62a57 authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

service worker: Re-add early return that was accidentally removed

It was accidentally removed in r606118.

Bug: 901909
Change-Id: I8a3e96b6ed2acc1aac7f71b9de30206771cb8ad1
Reviewed-on: https://chromium-review.googlesource.com/c/1325591Reviewed-by: default avatarMakoto Shimazu <shimazu@chromium.org>
Reviewed-by: default avatarHiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606362}
parent e2d39810
...@@ -144,6 +144,7 @@ void WaitUntilObserver::WaitUntil(ScriptState* script_state, ...@@ -144,6 +144,7 @@ void WaitUntilObserver::WaitUntil(ScriptState* script_state,
DOMExceptionCode::kInvalidStateError, DOMExceptionCode::kInvalidStateError,
"The event handler is already finished and no extend lifetime " "The event handler is already finished and no extend lifetime "
"promises are outstanding."); "promises are outstanding.");
return;
} }
if (!execution_context_) if (!execution_context_)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment