Title: [214096] branches/safari-603.1.30.0-branch/LayoutTests

Diff

Modified: branches/safari-603.1.30.0-branch/LayoutTests/ChangeLog (214095 => 214096)


--- branches/safari-603.1.30.0-branch/LayoutTests/ChangeLog	2017-03-17 04:33:16 UTC (rev 214095)
+++ branches/safari-603.1.30.0-branch/LayoutTests/ChangeLog	2017-03-17 04:33:19 UTC (rev 214096)
@@ -1,5 +1,20 @@
 2017-03-16  Ryan Haddad  <ryanhad...@apple.com>
 
+        Merge r213174.
+
+    2017-02-28  Alexey Proskuryakov  <a...@apple.com>
+
+            LayoutTest workers/sab/postMessage-clones.html is a flaky failure
+            https://bugs.webkit.org/show_bug.cgi?id=168129
+
+            Reviewed by Tim Horton.
+
+            * workers/sab/postMessage-clones-expected.txt:
+            * workers/sab/postMessage-clones.html:
+            Fix raciness, and update the test to modern style.
+
+2017-03-16  Ryan Haddad  <ryanhad...@apple.com>
+
         Merge r212132.
 
     2017-02-10  Filip Pizlo  <fpi...@apple.com>

Modified: branches/safari-603.1.30.0-branch/LayoutTests/workers/sab/postMessage-clones-expected.txt (214095 => 214096)


--- branches/safari-603.1.30.0-branch/LayoutTests/workers/sab/postMessage-clones-expected.txt	2017-03-17 04:33:16 UTC (rev 214095)
+++ branches/safari-603.1.30.0-branch/LayoutTests/workers/sab/postMessage-clones-expected.txt	2017-03-17 04:33:19 UTC (rev 214096)
@@ -3,11 +3,11 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS successfullyParsed is true
-
-TEST COMPLETE
 PASS memory[0] is 42
 PASS otherMemory[0] is 0
 PASS memory[0] is 42
 PASS otherMemory[0] is 43
+PASS successfullyParsed is true
 
+TEST COMPLETE
+

Modified: branches/safari-603.1.30.0-branch/LayoutTests/workers/sab/postMessage-clones.html (214095 => 214096)


--- branches/safari-603.1.30.0-branch/LayoutTests/workers/sab/postMessage-clones.html	2017-03-17 04:33:16 UTC (rev 214095)
+++ branches/safari-603.1.30.0-branch/LayoutTests/workers/sab/postMessage-clones.html	2017-03-17 04:33:19 UTC (rev 214096)
@@ -1,14 +1,13 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<!DOCTYPE html>
 <html>
 <head>
-<script src=""
+<script src=""
 </head>
 <body>
 <script>
 description("Checks that window.postMessage clones SharedArrayBuffers");
 
-if (window.testRunner)
-    testRunner.waitUntilDone();
+jsTestIsAsync = true;
 
 var sab = new SharedArrayBuffer(4);
 var memory = new Int32Array(sab);
@@ -22,16 +21,10 @@
     otherMemory[0] = 43;
     shouldBe("memory[0]", "42");
     shouldBe("otherMemory[0]", "43");
-    if (window.testRunner)
-        testRunner.notifyDone();
+    finishJSTest();
 });
 
-window.setTimeout(
-    function() {
-        window.postMessage(memory, "*");
-    },
-    0);
+window.postMessage(memory, "*");
 </script>
-<script src=""
 </body>
 </html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to