Title: [194133] trunk/Websites/perf.webkit.org
Revision
194133
Author
[email protected]
Date
2015-12-15 23:15:21 -0800 (Tue, 15 Dec 2015)

Log Message

Perf dashboard's cycler page should use v3 UI
https://bugs.webkit.org/show_bug.cgi?id=152324

Reviewed by Chris Dumez.

Use the v3 UI in cycler.html after r194130.

* public/cycler.html:
* public/v3/index.html: Removed the reference to a non-existent platform-selector.js.

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (194132 => 194133)


--- trunk/Websites/perf.webkit.org/ChangeLog	2015-12-16 06:28:13 UTC (rev 194132)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2015-12-16 07:15:21 UTC (rev 194133)
@@ -1,5 +1,17 @@
 2015-12-15  Ryosuke Niwa  <[email protected]>
 
+        Perf dashboard's cycler page should use v3 UI
+        https://bugs.webkit.org/show_bug.cgi?id=152324
+
+        Reviewed by Chris Dumez.
+
+        Use the v3 UI in cycler.html after r194130.
+
+        * public/cycler.html:
+        * public/v3/index.html: Removed the reference to a non-existent platform-selector.js.
+
+2015-12-15  Ryosuke Niwa  <[email protected]>
+
         Add v3 UI to perf dashboard
         https://bugs.webkit.org/show_bug.cgi?id=152311
 

Modified: trunk/Websites/perf.webkit.org/public/cycler.html (194132 => 194133)


--- trunk/Websites/perf.webkit.org/public/cycler.html	2015-12-16 06:28:13 UTC (rev 194132)
+++ trunk/Websites/perf.webkit.org/public/cycler.html	2015-12-16 07:15:21 UTC (rev 194133)
@@ -27,10 +27,9 @@
     var dashboards = [];
     for (var dashboardName in manifest.dashboards)
         dashboards.push(dashboardName);
-    dashboards = dashboards.sort();
 
     for (var dashboardName of dashboards)
-        urls.push('/v2/#/dashboard/' + dashboardName);
+        urls.push('/v3/#/dashboard/' + dashboardName);
 
     loadURLAt(0);
 }
@@ -40,14 +39,10 @@
     var newIframe = document.createElement('iframe');
     document.body.appendChild(newIframe);
     newIframe.src = ""
-    newIframe._onload_ = showNewFrameIfLoaded.bind(window, i, newIframe);
+    newIframe._onload_ = showNewFrame.bind(window, i, newIframe);
 }
 
-function showNewFrameIfLoaded(i, iframe) {
-    var doc = iframe.contentDocument;
-    if ((!doc.querySelector('.chart') && !doc.querySelector('.failure')) || doc.querySelector('.progress'))
-        return setTimeout(showNewFrameIfLoaded.bind(window, i, iframe), 500);
-
+function showNewFrame(i, iframe) {
     if (oldIframe)
         document.body.removeChild(oldIframe);
     oldIframe = iframe;

Modified: trunk/Websites/perf.webkit.org/public/v3/index.html (194132 => 194133)


--- trunk/Websites/perf.webkit.org/public/v3/index.html	2015-12-16 06:28:13 UTC (rev 194132)
+++ trunk/Websites/perf.webkit.org/public/v3/index.html	2015-12-16 07:15:21 UTC (rev 194133)
@@ -64,7 +64,6 @@
         <script src=""
         <script src=""
         <script src=""
-        <script src=""
         <script src=""
         <script src=""
         <script src=""
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to