DescriptionAvoid leaking a shared worker global scope on a failed script load.
The spec tells us,
http://whatwg.org/specs/web-apps/current-work/#run-a-worker
that in case of failure to load the script of a (shared) worker, we
should report the failure and abort (step 4.) The global scope's
closing flag will be left as false, meaning that we can safely shut
down and destroy the shared worker global scope. Do so.
R=
BUG=364390
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177178
Patch Set 1 #Patch Set 2 : No need to prematurely clear loader #Patch Set 3 : Avoid deleting a terminating WebSharedWorkerImpl #Messages
Total messages: 9 (0 generated)
|