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