Title: [183313] trunk/LayoutTests
Revision
183313
Author
[email protected]
Date
2015-04-25 13:50:23 -0700 (Sat, 25 Apr 2015)

Log Message

Mavericks fix - no window.performance there.

* fast/frames/flattening/resources/iframe-to-resize.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (183312 => 183313)


--- trunk/LayoutTests/ChangeLog	2015-04-25 20:20:29 UTC (rev 183312)
+++ trunk/LayoutTests/ChangeLog	2015-04-25 20:50:23 UTC (rev 183313)
@@ -1,5 +1,11 @@
 2015-04-25  Alexey Proskuryakov  <[email protected]>
 
+        Mavericks fix - no window.performance there.
+
+        * fast/frames/flattening/resources/iframe-to-resize.html:
+
+2015-04-25  Alexey Proskuryakov  <[email protected]>
+
         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
         https://bugs.webkit.org/show_bug.cgi?id=144155
 

Modified: trunk/LayoutTests/fast/frames/flattening/resources/iframe-to-resize.html (183312 => 183313)


--- trunk/LayoutTests/fast/frames/flattening/resources/iframe-to-resize.html	2015-04-25 20:20:29 UTC (rev 183312)
+++ trunk/LayoutTests/fast/frames/flattening/resources/iframe-to-resize.html	2015-04-25 20:50:23 UTC (rev 183313)
@@ -21,7 +21,8 @@
   
     if (++resizeCounter < 100) {
       currentTimerID = setTimeout('resizeMe();', 0);
-      timerScheduleTimes.push(performance.now());
+      if (window.performance)
+          timerScheduleTimes.push(performance.now());
       if (window.internals && internals.isTimerThrottled(currentTimerID))
         console.log("Timer " + currentTimerID + " is throttled, resizeCounter = " + resizeCounter);
     } else {
@@ -35,7 +36,8 @@
     console.log("Test timed out. Resized " + resizeCounter + " times, got " + resizeEventCounter + " events.");
     if (window.internals && internals.isTimerThrottled(currentTimerID))
       console.log("Timer was throttled.");
-    console.log("Timers were scheduled at: " + timerScheduleTimes);
+    if (window.performance)
+      console.log("Timers were scheduled at: " + timerScheduleTimes);
     if (window.testRunner)
       testRunner.notifyDone();
   }, 20000);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to