Changeset 82967 in webkit


Ignore:
Timestamp:
Apr 5, 2011 12:39:42 PM (13 years ago)
Author:
Adam Roben
Message:

Strip off /results.html from results URLs before trying to load leaks files from them

r82734 changed build.webkit.org's "view results" URLs to point straight to the results.html
files, rather than pointing to the directory that contains them. This is more convenient for
people browsing build.webkit.org, but confused Leaks Viewer.

Fixes <http://webkit.org/b/57869> REGRESSION (r82734): Links in Leaks Viewer's Recent Builds
list don't work

Reviewed by Joseph Pecoraro.

  • BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:

(RecentBuildsLoader.prototype.start): Strip off "/results.html" from the results URL.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js

    r82682 r82967  
    6262                        if (!("view results" in step.urls))
    6363                            return;
    64                         buildInfo.url = self._buildbotBaseURL + step.urls["view results"] + "/";
     64                        var url = step.urls["view results"];
     65                        buildInfo.url = self._buildbotBaseURL + url.replace(/\/results\.html$/, "") + "/";
    6566                    }
    6667
  • trunk/Tools/ChangeLog

    r82957 r82967  
     12011-04-05  Adam Roben  <aroben@apple.com>
     2
     3        Strip off /results.html from results URLs before trying to load leaks files from them
     4
     5        r82734 changed build.webkit.org's "view results" URLs to point straight to the results.html
     6        files, rather than pointing to the directory that contains them. This is more convenient for
     7        people browsing build.webkit.org, but confused Leaks Viewer.
     8
     9        Fixes <http://webkit.org/b/57869> REGRESSION (r82734): Links in Leaks Viewer's Recent Builds
     10        list don't work
     11
     12        Reviewed by Joseph Pecoraro.
     13
     14        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
     15        (RecentBuildsLoader.prototype.start): Strip off "/results.html" from the results URL.
     16
    1172011-04-05  Carol Szabo  <carol@webkit.org>
    218
Note: See TracChangeset for help on using the changeset viewer.