Injecting a <script> with async=false that subsequently errors, causes the onload event to never be dispatched |
|||
Issue descriptionSee attached simplified test. Reproducing this involves: * Have at least one <script async=false> that FAILS * Queue up a <script> that doesn't fail after this * Must explicitly set async=false or won't reproduce I am able to reproduce on Chrome 50, however it does not reproduce on the current Canary channel. So this may have already been fixed. But since I couldn't find the corresponding bug, would like to confirm that the reason it works on Canary isn't accidental.
,
May 26 2016
I was running a bisect, and noticed this issue was fixed in (381275,381281]. That exactly contains sigbjornf's fix. sigbjornf, can I assign you to this bug for adding the testcase?
,
May 26 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0f654575292abfd9b5b894ec5f3fffd457940fee commit 0f654575292abfd9b5b894ec5f3fffd457940fee Author: sigbjornf <sigbjornf@opera.com> Date: Thu May 26 19:26:50 2016 Test that failed sync scripts do not block later ones. If an async=false script fails to load, it must not block later sync scripts from executing; add missing test coverage. R= BUG= 614855 , 581425 Review-Url: https://codereview.chromium.org/2010983002 Cr-Commit-Position: refs/heads/master@{#396253} [add] https://crrev.com/0f654575292abfd9b5b894ec5f3fffd457940fee/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/resources/success.js [add] https://crrev.com/0f654575292abfd9b5b894ec5f3fffd457940fee/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-sync-load-failure-expected.txt [add] https://crrev.com/0f654575292abfd9b5b894ec5f3fffd457940fee/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-sync-load-failure.html
,
May 27 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by sigbjo...@opera.com
, May 26 2016