Title: [188139] trunk/Tools
Revision
188139
Author
joep...@webkit.org
Date
2015-08-07 11:11:28 -0700 (Fri, 07 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 Chris Dumez.

Follow-up, make DumpRenderTree consistent with WebKitTestRunner.
Although COCOA ports default this setting to be disabled in WebKit1,
we should make both test harnesses disable the setting for consistency.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebPreferencesToConsistentValues):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (188138 => 188139)


--- trunk/Tools/ChangeLog	2015-08-07 17:58:45 UTC (rev 188138)
+++ trunk/Tools/ChangeLog	2015-08-07 18:11:28 UTC (rev 188139)
@@ -1,3 +1,17 @@
+2015-08-07  Joseph Pecoraro  <pecor...@apple.com>
+
+        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 Chris Dumez.
+
+        Follow-up, make DumpRenderTree consistent with WebKitTestRunner.
+        Although COCOA ports default this setting to be disabled in WebKit1,
+        we should make both test harnesses disable the setting for consistency.
+
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        (resetWebPreferencesToConsistentValues):
+
 2015-08-07  Ryosuke Niwa  <rn...@webkit.org>
 
         Use a specific version of Speedometer in run-benchmark

Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (188138 => 188139)


--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm	2015-08-07 17:58:45 UTC (rev 188138)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm	2015-08-07 18:11:28 UTC (rev 188139)
@@ -978,6 +978,9 @@
     [preferences setMediaSourceEnabled:YES];
 #endif
 
+    [preferences setHiddenPageDOMTimerThrottlingEnabled:NO];
+    [preferences setHiddenPageCSSAnimationSuspensionEnabled:NO];
+
     [WebPreferences _clearNetworkLoaderSession];
     [WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain];
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to