Title: [233301] trunk/Tools
Revision
233301
Author
[email protected]
Date
2018-06-28 00:27:52 -0700 (Thu, 28 Jun 2018)

Log Message

Make MotionMark's plan file more robust against code changes
https://bugs.webkit.org/show_bug.cgi?id=187116
<rdar://problem/41533956>

Reviewed by Saam Barati.

Moved the code to auto-start the test to the load event listener.

* Scripts/webkitpy/benchmark_runner/data/patches/webserver/MotionMark.patch:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (233300 => 233301)


--- trunk/Tools/ChangeLog	2018-06-28 04:25:05 UTC (rev 233300)
+++ trunk/Tools/ChangeLog	2018-06-28 07:27:52 UTC (rev 233301)
@@ -1,3 +1,15 @@
+2018-06-27  Ryosuke Niwa  <[email protected]>
+
+        Make MotionMark's plan file more robust against code changes
+        https://bugs.webkit.org/show_bug.cgi?id=187116
+        <rdar://problem/41533956>
+
+        Reviewed by Saam Barati.
+
+        Moved the code to auto-start the test to the load event listener.
+
+        * Scripts/webkitpy/benchmark_runner/data/patches/webserver/MotionMark.patch:
+
 2018-06-27  Daniel Bates  <[email protected]>
 
         Add some tests for lldb_webkit.py

Modified: trunk/Tools/Scripts/webkitpy/benchmark_runner/data/patches/webserver/MotionMark.patch (233300 => 233301)


--- trunk/Tools/Scripts/webkitpy/benchmark_runner/data/patches/webserver/MotionMark.patch	2018-06-28 04:25:05 UTC (rev 233300)
+++ trunk/Tools/Scripts/webkitpy/benchmark_runner/data/patches/webserver/MotionMark.patch	2018-06-28 07:27:52 UTC (rev 233301)
@@ -1,8 +1,8 @@
 diff --git a/resources/runner/motionmark.js b/resources/runner/motionmark.js
-index 65e8c54..1643e70 100644
+index d45155e..b10635a 100644
 --- a/resources/runner/motionmark.js
 +++ b/resources/runner/motionmark.js
-@@ -393,6 +393,61 @@ window.benchmarkRunnerClient = {
+@@ -411,6 +411,61 @@ window.benchmarkRunnerClient = {
      didFinishLastIteration: function()
      {
          benchmarkController.showResults();
@@ -64,12 +64,12 @@
      }
  };
  
-@@ -436,7 +491,7 @@ window.sectionsManager =
- window.benchmarkController = {
-     initialize: function()
-     {
--        benchmarkController.addOrientationListenerIfNecessary();
-+        setTimeout(benchmarkController.startBenchmark.bind(benchmarkController), 3000);
-     },
+@@ -652,4 +707,7 @@ window.benchmarkController = {
+     }
+ };
  
-     determineCanvasSize: function() {
+-window.addEventListener("load", function() { benchmarkController.initialize(); });
++window.addEventListener("load", function() {
++    setTimeout(benchmarkController.startBenchmark.bind(benchmarkController), 3000);
++    benchmarkController.initialize();
++});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to