Layout Test fast/animation/request-animation-frame-timestamps-advance.html is failing
authormihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Sep 2011 20:28:07 +0000 (20:28 +0000)
committermihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Sep 2011 20:28:07 +0000 (20:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=68821

Switch test to use finishJSTest(), which handles js-test-post.js loading
after the test is complete better.

* fast/animation/request-animation-frame-timestamps-advance.html:
* fast/animation/script-tests/request-animation-frame-timestamps-advance.js:
(window.webkitRequestAnimationFrame):
* platform/chromium/test_expectations.txt:

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

LayoutTests/ChangeLog
LayoutTests/fast/animation/request-animation-frame-timestamps-advance.html
LayoutTests/fast/animation/script-tests/request-animation-frame-timestamps-advance.js
LayoutTests/platform/chromium/test_expectations.txt

index 5a95710..5eeeb32 100644 (file)
@@ -1,5 +1,18 @@
 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
 
+        Layout Test fast/animation/request-animation-frame-timestamps-advance.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=68821
+
+        Switch test to use finishJSTest(), which handles js-test-post.js loading
+        after the test is complete better.
+        
+        * fast/animation/request-animation-frame-timestamps-advance.html:
+        * fast/animation/script-tests/request-animation-frame-timestamps-advance.js:
+        (window.webkitRequestAnimationFrame):
+        * platform/chromium/test_expectations.txt:
+
+2011-09-26  Mihai Parparita  <mihaip@chromium.org>
+
         Rebaseline fast/dom/Window/window-resize-contents.html for non-Chromium ports.
         
         Previous expected result was Chromium-specific because console line
index b66b511..33a641e 100644 (file)
@@ -10,6 +10,6 @@
 <span id="e"></span>
 <span id="f"></span>
 <script src="script-tests/request-animation-frame-timestamps-advance.js"></script>
-<script src="../js/resources/js-test-post-function.js"></script>
+<script src="../js/resources/js-test-post.js"></script>
 </body>
 </html>
index 52d9b90..9183a5b 100644 (file)
@@ -1,3 +1,5 @@
+jsTestIsAsync = true;
+
 description("Tests the timestamps provided to requestAnimationFrame callbacks advance");
 
 function busyWait(millis) {
@@ -15,9 +17,7 @@ window.webkitRequestAnimationFrame(function(timestamp) {
         secondTimestamp = timestamp;
         shouldBeDefined("secondTimestamp");
         shouldBeTrue("secondTimestamp > firstTimestamp");
-        isSuccessfullyParsed();
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        finishJSTest();
     });
     busyWait(10);
     if (window.layoutTestController)
@@ -31,7 +31,4 @@ if (window.layoutTestController)
     });
 
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
-
 var successfullyParsed = true;
index 5b49f19..3ee4150 100644 (file)
@@ -3828,5 +3828,3 @@ BUGWK68747 : media/controls-right-click-on-timebar.html = TIMEOUT PASS
 
 // Assert fires (on non-Chromium WebKit ports too)
 BUGWK68819 DEBUG : svg/clip-path/clip-path-on-svg.svg = CRASH
-
-BUGWK68821 DEBUG : fast/animation/request-animation-frame-timestamps-advance.html = TIMEOUT