DescriptionCompletely detach failed script loader before dispatching error event.
In case of failure, a ScriptLoader needs to be detached from its ScriptRunner
and associated Resource (if any) at the same time, and before dispatching
the corresponding error event. If the error event handler triggers cancellation
of the Resource, the ScriptLoader should not be notified of that again --
it isn't interested nor prepared. A speculative fix.
R=
BUG=602516
Committed: https://crrev.com/78eefc78b6be044e73f95527b1ce9a58c6e0f585
Cr-Commit-Position: refs/heads/master@{#390955}
Patch Set 1 #Patch Set 2 : detach before dispatching 'error' #Patch Set 3 : drop experimental assert #Messages
Total messages: 10 (5 generated)
|