Title: [143802] trunk/LayoutTests
Revision
143802
Author
[email protected]
Date
2013-02-22 14:39:26 -0800 (Fri, 22 Feb 2013)

Log Message

fast/parser/parser-yield-timing.html doesn't integrate with js-test-pre correctly
https://bugs.webkit.org/show_bug.cgi?id=110645

Reviewed by Eric Seidel.

* fast/parser/parser-yield-timing.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (143801 => 143802)


--- trunk/LayoutTests/ChangeLog	2013-02-22 22:38:18 UTC (rev 143801)
+++ trunk/LayoutTests/ChangeLog	2013-02-22 22:39:26 UTC (rev 143802)
@@ -1,3 +1,12 @@
+2013-02-22  Adam Barth  <[email protected]>
+
+        fast/parser/parser-yield-timing.html doesn't integrate with js-test-pre correctly
+        https://bugs.webkit.org/show_bug.cgi?id=110645
+
+        Reviewed by Eric Seidel.
+
+        * fast/parser/parser-yield-timing.html:
+
 2013-02-21  Ojan Vafai  <[email protected]>
 
         Increase the max preferred width of tables to 1000000

Modified: trunk/LayoutTests/fast/parser/parser-yield-timing.html (143801 => 143802)


--- trunk/LayoutTests/fast/parser/parser-yield-timing.html	2013-02-22 22:38:18 UTC (rev 143801)
+++ trunk/LayoutTests/fast/parser/parser-yield-timing.html	2013-02-22 22:39:26 UTC (rev 143802)
@@ -3,9 +3,7 @@
   <head>
     <script type="text/_javascript_" src=""
     <script>
-      if (window.testRunner) {
-        window.testRunner.waitUntilDone();
-      }
+      window.jsTestIsAsync = true;
 
       description("Runs 3 separate 1 second &lt;script&gt; blocks with a setTimeout schedule before each. The execution time of the setTimeout is when the HTML yielded to the event loop. The yields also represent painting opportunities. We want the parser to yield every 0.5 seconds once it has seen a script.");
 
@@ -42,9 +40,7 @@
       setTimeout(function() { 
         expectElapsedTime(3000);
 
-        if (window.testRunner) {
-          testRunner.notifyDone();
-        }
+        finishJSTest();
       }, 0);
     </script>
     <script> 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to