Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Issue 1939743002: Completely detach failed script loader before dispatching error event. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 7 months ago
Reviewers:
haraken, Nate Chapin
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Completely 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M third_party/WebKit/Source/core/dom/ScriptLoader.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
sof
please take a look.
4 years, 7 months ago (2016-05-02 14:42:24 UTC) #3
haraken
LGTM
4 years, 7 months ago (2016-05-02 15:43:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939743002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939743002/40001
4 years, 7 months ago (2016-05-02 15:47:41 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-02 15:59:14 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 16:00:38 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/78eefc78b6be044e73f95527b1ce9a58c6e0f585
Cr-Commit-Position: refs/heads/master@{#390955}

Powered by Google App Engine
This is Rietveld 408576698