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

Issue 1424703007: Upon load failure, remove sync script from pending queue. (Closed)

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

Description

Upon load failure, remove sync script from pending queue. If a script element is to be loaded synchronously and executed in order, it's queued for execution before loading. Should that load fail, the immediate execution of the script, https://html.spec.whatwg.org/#execute-the-script-block should only result in an error event being dispatched. Implementation-wise, along with signalling error, the failed script must also be removed from the internal in-order pending execution queue. We're done with (not) executing the script and failure to remove it will cause subsequent processing of its pending queue to see the script as having failed to load and re-dispatch an error event. R=tkent BUG=503077 Committed: https://crrev.com/c85e2da47823fc952467a67e5ce7b093382a505e Cr-Commit-Position: refs/heads/master@{#357778}

Patch Set 1 #

Patch Set 2 : add release assert #

Messages

Total messages: 9 (4 generated)
sof
please take a look. With the extra pending in-order queue manipulations simplified away by r356080, ...
5 years, 1 month ago (2015-11-03 20:48:31 UTC) #3
tkent
lgtm > be removed from the internal in-order pending xecution queue. We're done with xecution ...
5 years, 1 month ago (2015-11-03 22:58:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424703007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424703007/20001
5 years, 1 month ago (2015-11-04 07:33:05 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-04 07:37:47 UTC) #8
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 07:38:31 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c85e2da47823fc952467a67e5ce7b093382a505e
Cr-Commit-Position: refs/heads/master@{#357778}

Powered by Google App Engine
This is Rietveld 408576698