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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash.html

Issue 1620983002: Also transfer pending in-order scripts upon element moving to new document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also remove is-disposed checking; unnecessary Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-crash.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash.html
similarity index 84%
copy from third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-crash.html
copy to third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash.html
index b9f9e65bca7bcc7e52b014e4d5d1a921d13b34ed..7d94a22baf7cd167e88bd08fa8428bc526c4b8d1 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash.html
@@ -9,6 +9,7 @@ var newScriptElement;
function start()
{
newScriptElement = document.createElement('script');
+ newScriptElement.async = false;
document.body.appendChild(newScriptElement);
newScriptElement.onerror = customOnError;
newScriptElement.src = 'foobarbaz';
@@ -24,7 +25,7 @@ function customOnError()
</script>
</head>
<body onload="start()">
-Checks that we handle scripts which move to a different document inside their onerror handlers.
+Checks that we handle sync scripts which move to a different document inside their onerror handlers.
<div id="console"></div>
<iframe id="frame"></iframe>
</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-by-onerror-sync-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698