Title: [188102] trunk/Tools
Revision
188102
Author
[email protected]
Date
2015-08-06 18:22:05 -0700 (Thu, 06 Aug 2015)

Log Message

Running tests for a long time results in some tests running very slowly (throttling)
https://bugs.webkit.org/show_bug.cgi?id=147718

Reviewed by Alexey Proskuryakov.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetPreferencesToConsistentValues):
Ensure throttling settings are disabled for tests for all ports, as
COCOA ports default to having these setting enabled. Note, there is
still other timer throttling not covered by these setting.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (188101 => 188102)


--- trunk/Tools/ChangeLog	2015-08-07 01:03:54 UTC (rev 188101)
+++ trunk/Tools/ChangeLog	2015-08-07 01:22:05 UTC (rev 188102)
@@ -1,3 +1,16 @@
+2015-08-06  Joseph Pecoraro  <[email protected]>
+
+        Running tests for a long time results in some tests running very slowly (throttling)
+        https://bugs.webkit.org/show_bug.cgi?id=147718
+
+        Reviewed by Alexey Proskuryakov.
+
+        * WebKitTestRunner/TestController.cpp:
+        (WTR::TestController::resetPreferencesToConsistentValues):
+        Ensure throttling settings are disabled for tests for all ports, as
+        COCOA ports default to having these setting enabled. Note, there is
+        still other timer throttling not covered by these setting.
+
 2015-08-06  Filip Pizlo  <[email protected]>
 
         Lightweight locks should be adaptive

Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (188101 => 188102)


--- trunk/Tools/WebKitTestRunner/TestController.cpp	2015-08-07 01:03:54 UTC (rev 188101)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp	2015-08-07 01:22:05 UTC (rev 188102)
@@ -621,6 +621,9 @@
     WKPreferencesSetMediaSourceEnabled(preferences, true);
 #endif
 
+    WKPreferencesSetHiddenPageDOMTimerThrottlingEnabled(preferences, false);
+    WKPreferencesSetHiddenPageCSSAnimationSuspensionEnabled(preferences, false);
+
     WKPreferencesSetAcceleratedDrawingEnabled(preferences, m_shouldUseAcceleratedDrawing);
 
     WKCookieManagerDeleteAllCookies(WKContextGetCookieManager(m_context.get()));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to