Title: [183808] trunk/LayoutTests
Revision
183808
Author
[email protected]
Date
2015-05-05 09:10:04 -0700 (Tue, 05 May 2015)

Log Message

Fix up fast/performance/performance-now-crash-on-navigated-window.html after r183795.

Unreviewed fix for the bots. Since performance.now doesn't bail out and return 0 in
disconnected frames anymore, we have to adjust the expectations. This test was all
about catching a crash anyway.

* fast/performance/performance-now-crash-on-navigated-window-expected.txt:
* fast/performance/performance-now-crash-on-navigated-window.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (183807 => 183808)


--- trunk/LayoutTests/ChangeLog	2015-05-05 15:48:29 UTC (rev 183807)
+++ trunk/LayoutTests/ChangeLog	2015-05-05 16:10:04 UTC (rev 183808)
@@ -1,3 +1,14 @@
+2015-05-05  Andreas Kling  <[email protected]>
+
+        Fix up fast/performance/performance-now-crash-on-navigated-window.html after r183795.
+
+        Unreviewed fix for the bots. Since performance.now doesn't bail out and return 0 in
+        disconnected frames anymore, we have to adjust the expectations. This test was all
+        about catching a crash anyway.
+
+        * fast/performance/performance-now-crash-on-navigated-window-expected.txt:
+        * fast/performance/performance-now-crash-on-navigated-window.html:
+
 2015-05-05  Javier Fernandez  <[email protected]>
 
         [CSS Box Alignment] Upgrade align-content parsing to CSS3 Box Alignment spec

Modified: trunk/LayoutTests/fast/performance/performance-now-crash-on-navigated-window-expected.txt (183807 => 183808)


--- trunk/LayoutTests/fast/performance/performance-now-crash-on-navigated-window-expected.txt	2015-05-05 15:48:29 UTC (rev 183807)
+++ trunk/LayoutTests/fast/performance/performance-now-crash-on-navigated-window-expected.txt	2015-05-05 16:10:04 UTC (rev 183808)
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS value is 0
+PASS value is not undefined
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/fast/performance/performance-now-crash-on-navigated-window.html (183807 => 183808)


--- trunk/LayoutTests/fast/performance/performance-now-crash-on-navigated-window.html	2015-05-05 15:48:29 UTC (rev 183807)
+++ trunk/LayoutTests/fast/performance/performance-now-crash-on-navigated-window.html	2015-05-05 16:10:04 UTC (rev 183808)
@@ -23,12 +23,9 @@
     {
         // This should not crash.
         value = perfFromInitialFrame.now();
-        
-        // Note: We return 0 for this because we need the Frame to get correct timing based on the document loader, and it our
-        // usual idiom to return a 'null-ish' value when the window is disconnected. Firefox returns a non-zero value here, but
-        // there doesn't seem to be anything in the spec that says it must.
-        shouldBe('value', '0');
 
+        shouldNotBe('value', 'undefined');
+
         finishJSTest();
     }
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to