Changeset 194133 in webkit


Ignore:
Timestamp:
Dec 15, 2015 11:15:21 PM (8 years ago)
Author:
rniwa@webkit.org
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.
Location:
trunk/Websites/perf.webkit.org
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/perf.webkit.org/ChangeLog

    r194130 r194133  
     12015-12-15  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Perf dashboard's cycler page should use v3 UI
     4        https://bugs.webkit.org/show_bug.cgi?id=152324
     5
     6        Reviewed by Chris Dumez.
     7
     8        Use the v3 UI in cycler.html after r194130.
     9
     10        * public/cycler.html:
     11        * public/v3/index.html: Removed the reference to a non-existent platform-selector.js.
     12
    1132015-12-15  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/Websites/perf.webkit.org/public/cycler.html

    r190702 r194133  
    2828    for (var dashboardName in manifest.dashboards)
    2929        dashboards.push(dashboardName);
    30     dashboards = dashboards.sort();
    3130
    3231    for (var dashboardName of dashboards)
    33         urls.push('/v2/#/dashboard/' + dashboardName);
     32        urls.push('/v3/#/dashboard/' + dashboardName);
    3433
    3534    loadURLAt(0);
     
    4140    document.body.appendChild(newIframe);
    4241    newIframe.src = urls[i];
    43     newIframe.onload = showNewFrameIfLoaded.bind(window, i, newIframe);
     42    newIframe.onload = showNewFrame.bind(window, i, newIframe);
    4443}
    4544
    46 function showNewFrameIfLoaded(i, iframe) {
    47     var doc = iframe.contentDocument;
    48     if ((!doc.querySelector('.chart') && !doc.querySelector('.failure')) || doc.querySelector('.progress'))
    49         return setTimeout(showNewFrameIfLoaded.bind(window, i, iframe), 500);
    50 
     45function showNewFrame(i, iframe) {
    5146    if (oldIframe)
    5247        document.body.removeChild(oldIframe);
  • trunk/Websites/perf.webkit.org/public/v3/index.html

    r194130 r194133  
    6565        <script src="components/interactive-time-series-chart.js"></script>
    6666        <script src="components/chart-status-view.js"></script>
    67         <script src="components/platform-selector.js"></script>
    6867        <script src="components/pane-selector.js"></script>
    6968        <script src="pages/page.js"></script>
Note: See TracChangeset for help on using the changeset viewer.