fast/forms/formsubmission-appendFormData-crash.html times out on WebKit1
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2017 20:45:00 +0000 (20:45 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2017 20:45:00 +0000 (20:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168133

Reviewed by Brent Fulgham.

Call testRunner.notifyDone() synchronously instead of doing it in a
setTimeout(). The test no longer times out on WK1 and still reproduces
the original bug.

* fast/forms/formsubmission-appendFormData-crash.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/forms/formsubmission-appendFormData-crash.html

index e603ac3..1f9d3a8 100644 (file)
@@ -1,3 +1,16 @@
+2017-02-10  Chris Dumez  <cdumez@apple.com>
+
+        fast/forms/formsubmission-appendFormData-crash.html times out on WebKit1
+        https://bugs.webkit.org/show_bug.cgi?id=168133
+
+        Reviewed by Brent Fulgham.
+
+        Call testRunner.notifyDone() synchronously instead of doing it in a
+        setTimeout(). The test no longer times out on WK1 and still reproduces
+        the original bug.
+
+        * fast/forms/formsubmission-appendFormData-crash.html:
+
 2017-02-10  Filip Pizlo  <fpizlo@apple.com>
 
         LayoutTest workers/sab/postMessage-clones.html is a flaky failure
index 35e5ec8..48d3f0a 100644 (file)
@@ -12,10 +12,8 @@ function runTest() {
     input.autofocus = true;
     output.appendChild(input);
     form.submit();
-    setTimeout(function() {
     if (window.testRunner)
         testRunner.notifyDone();
-    }, 0);
 }
 
 function focushandler() {