<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[187975] trunk/Tools</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/187975">187975</a></dd>
<dt>Author</dt> <dd>ap@apple.com</dd>
<dt>Date</dt> <dd>2015-08-05 12:54:12 -0700 (Wed, 05 Aug 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>AppScale: Use https URLs for subresources and links
https://bugs.webkit.org/show_bug.cgi?id=147686

Reviewed by Ryosuke Niwa.

* QueueStatusServer/filters/webkit_extras.py:
* TestResultServer/static-dashboards/dashboard_base.js:
* TestResultServer/static-dashboards/flakiness_dashboard.js:
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
* TestResultServer/static-dashboards/treemap.js:
* TestResultServer/static-dashboards/ui.js:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsQueueStatusServerfilterswebkit_extraspy">trunk/Tools/QueueStatusServer/filters/webkit_extras.py</a></li>
<li><a href="#trunkToolsTestResultServerstaticdashboardsdashboard_basejs">trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js</a></li>
<li><a href="#trunkToolsTestResultServerstaticdashboardsflakiness_dashboardjs">trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js</a></li>
<li><a href="#trunkToolsTestResultServerstaticdashboardsflakiness_dashboard_unittestsjs">trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard_unittests.js</a></li>
<li><a href="#trunkToolsTestResultServerstaticdashboardstreemapjs">trunk/Tools/TestResultServer/static-dashboards/treemap.js</a></li>
<li><a href="#trunkToolsTestResultServerstaticdashboardsuijs">trunk/Tools/TestResultServer/static-dashboards/ui.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/ChangeLog        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-08-05  Alexey Proskuryakov  &lt;ap@apple.com&gt;
+
+        AppScale: Use https URLs for subresources and links
+        https://bugs.webkit.org/show_bug.cgi?id=147686
+
+        Reviewed by Ryosuke Niwa.
+
+        * QueueStatusServer/filters/webkit_extras.py:
+        * TestResultServer/static-dashboards/dashboard_base.js:
+        * TestResultServer/static-dashboards/flakiness_dashboard.js:
+        * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
+        * TestResultServer/static-dashboards/treemap.js:
+        * TestResultServer/static-dashboards/ui.js:
+
</ins><span class="cx"> 2015-08-04  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Rename Mutex to DeprecatedMutex
</span></span></pre></div>
<a id="trunkToolsQueueStatusServerfilterswebkit_extraspy"></a>
<div class="modfile"><h4>Modified: trunk/Tools/QueueStatusServer/filters/webkit_extras.py (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/QueueStatusServer/filters/webkit_extras.py        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/QueueStatusServer/filters/webkit_extras.py        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> @register.filter
</span><span class="cx"> @stringfilter
</span><span class="cx"> def webkit_linkify(value):
</span><del>-    value = bug_regexp.sub(r'&lt;a href=&quot;http://webkit.org/b/\g&lt;bug_id&gt;&quot;&gt;bug \g&lt;bug_id&gt;&lt;/a&gt;', value)
</del><ins>+    value = bug_regexp.sub(r'&lt;a href=&quot;https://webkit.org/b/\g&lt;bug_id&gt;&quot;&gt;bug \g&lt;bug_id&gt;&lt;/a&gt;', value)
</ins><span class="cx">     value = patch_regexp.sub(r'&lt;a href=&quot;https://bugs.webkit.org/attachment.cgi?id=\g&lt;patch_id&gt;&amp;action=prettypatch&quot;&gt;patch \g&lt;patch_id&gt;&lt;/a&gt;', value)
</span><span class="cx">     return value
</span><span class="cx"> 
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> @register.filter
</span><span class="cx"> @stringfilter
</span><span class="cx"> def webkit_bug_id(value):
</span><del>-    return '&lt;a href=&quot;http://webkit.org/b/%s&quot;&gt;%s&lt;/a&gt;' % (value, value)
</del><ins>+    return '&lt;a href=&quot;https://webkit.org/b/%s&quot;&gt;%s&lt;/a&gt;' % (value, value)
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> @register.filter
</span></span></pre></div>
<a id="trunkToolsTestResultServerstaticdashboardsdashboard_basejs"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -73,7 +73,7 @@
</span><span class="cx"> var ONE_WEEK_SECONDS = ONE_DAY_SECONDS * 7;
</span><span class="cx"> 
</span><span class="cx"> // These should match the testtype uploaded to webkit-test-results.webkit.org.
</span><del>-// See http://webkit-test-results.webkit.org/testfile.
</del><ins>+// See https://webkit-test-results.webkit.org/testfile.
</ins><span class="cx"> var TEST_TYPES = [
</span><span class="cx">     'layout-tests'
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkToolsTestResultServerstaticdashboardsflakiness_dashboardjs"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -33,8 +33,8 @@
</span><span class="cx"> var FORWARD = 'forward';
</span><span class="cx"> var BACKWARD = 'backward';
</span><span class="cx"> var GTEST_MODIFIERS = ['FLAKY', 'FAILS', 'MAYBE', 'DISABLED'];
</span><del>-var TEST_URL_BASE_PATH_TRAC = 'http://trac.webkit.org/browser/trunk/LayoutTests/';
-var TEST_URL_BASE_PATH = &quot;http://svn.webkit.org/repository/webkit/trunk/LayoutTests/&quot;;
</del><ins>+var TEST_URL_BASE_PATH_TRAC = 'https://trac.webkit.org/browser/trunk/LayoutTests/';
+var TEST_URL_BASE_PATH = &quot;https://svn.webkit.org/repository/webkit/trunk/LayoutTests/&quot;;
</ins><span class="cx"> var EXPECTATIONS_URL_BASE_PATH = TEST_URL_BASE_PATH + &quot;platform/&quot;;
</span><span class="cx"> 
</span><span class="cx"> var PLATFORMS = {
</span><span class="lines">@@ -1092,7 +1092,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-var BUG_URL_PREFIX = '&lt;a href=&quot;http://';
</del><ins>+var BUG_URL_PREFIX = '&lt;a href=&quot;https://';
</ins><span class="cx"> var BUG_URL_POSTFIX = '/$1&quot;&gt;crbug.com/$1&lt;/a&gt; ';
</span><span class="cx"> var WEBKIT_BUG_URL_POSTFIX = '/$1&quot;&gt;webkit.org/b/$1&lt;/a&gt; ';
</span><span class="cx"> var INTERNAL_BUG_REPLACE_VALUE = BUG_URL_PREFIX + 'b' + BUG_URL_POSTFIX;
</span><span class="lines">@@ -1182,7 +1182,7 @@
</span><span class="cx">     html += '&lt;ul&gt;&lt;li&gt;' + linkHTMLToOpenWindow(buildBasePath, 'Build log') +
</span><span class="cx">         '&lt;/li&gt;&lt;li&gt;' +
</span><span class="cx">         createBlameListHTML(g_resultsByBuilder[builder].webkitRevision, index,
</span><del>-            'http://trac.webkit.org/log/?verbose=on&amp;rev=', '&amp;stop_rev=',
</del><ins>+            'https://trac.webkit.org/log/?verbose=on&amp;rev=', '&amp;stop_rev=',
</ins><span class="cx">             'WebKit') +
</span><span class="cx">         '&lt;/li&gt;';
</span><span class="cx"> 
</span><span class="lines">@@ -1857,14 +1857,14 @@
</span><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx">     var url = base + platformPart + path;
</span><del>-    if (isImage || !string.startsWith(base, 'http://svn.webkit.org')) {
</del><ins>+    if (isImage || !string.startsWith(base, 'https://svn.webkit.org')) {
</ins><span class="cx">         var dummyNode = document.createElement(isImage ? 'img' : 'script');
</span><span class="cx">         dummyNode.src = url;
</span><span class="cx">         dummyNode.onload = function() {
</span><span class="cx">             var item;
</span><span class="cx">             if (isImage) {
</span><span class="cx">                 item = dummyNode;
</span><del>-                if (string.startsWith(base, 'http://svn.webkit.org'))
</del><ins>+                if (string.startsWith(base, 'https://svn.webkit.org'))
</ins><span class="cx">                     maybeAddPngChecksum(item, url);
</span><span class="cx">             } else {
</span><span class="cx">                 item = document.createElement('iframe');
</span></span></pre></div>
<a id="trunkToolsTestResultServerstaticdashboardsflakiness_dashboard_unittestsjs"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard_unittests.js (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard_unittests.js        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard_unittests.js        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -400,7 +400,7 @@
</span><span class="cx"> 
</span><span class="cx">     var tests = [test1, test2];
</span><span class="cx">     equal(htmlForIndividualTests(tests),
</span><del>-        '&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/foo/nonexistant.html&quot; target=&quot;_blank&quot;&gt;foo/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</del><ins>+        '&lt;h2&gt;&lt;a href=&quot;https://trac.webkit.org/browser/trunk/LayoutTests/foo/nonexistant.html&quot; target=&quot;_blank&quot;&gt;foo/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</ins><span class="cx">         htmlForIndividualTestOnAllBuilders(test1) + 
</span><span class="cx">         '&lt;div class=expectations test=foo/nonexistant.html&gt;' +
</span><span class="cx">             '&lt;div&gt;&lt;span class=link onclick=\&quot;g_history.setQueryParameter(\'showExpectations\', true)\&quot;&gt;Show results&lt;/span&gt; | ' +
</span><span class="lines">@@ -408,7 +408,7 @@
</span><span class="cx">             '&lt;b&gt;Only shows actual results/diffs from the most recent *failure* on each bot.&lt;/b&gt;&lt;/div&gt;' +
</span><span class="cx">         '&lt;/div&gt;' +
</span><span class="cx">         '&lt;hr&gt;' +
</span><del>-        '&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/bar/nonexistant.html&quot; target=&quot;_blank&quot;&gt;bar/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</del><ins>+        '&lt;h2&gt;&lt;a href=&quot;https://trac.webkit.org/browser/trunk/LayoutTests/bar/nonexistant.html&quot; target=&quot;_blank&quot;&gt;bar/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</ins><span class="cx">         htmlForIndividualTestOnAllBuilders(test2) +
</span><span class="cx">         '&lt;div class=expectations test=bar/nonexistant.html&gt;' +
</span><span class="cx">             '&lt;div&gt;&lt;span class=link onclick=\&quot;g_history.setQueryParameter(\'showExpectations\', true)\&quot;&gt;Show results&lt;/span&gt; | ' +
</span><span class="lines">@@ -427,14 +427,14 @@
</span><span class="cx">     historyInstance.dashboardSpecificState.showChrome = true;
</span><span class="cx"> 
</span><span class="cx">     equal(htmlForIndividualTests(tests),
</span><del>-        '&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/foo/nonexistant.html&quot; target=&quot;_blank&quot;&gt;foo/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</del><ins>+        '&lt;h2&gt;&lt;a href=&quot;https://trac.webkit.org/browser/trunk/LayoutTests/foo/nonexistant.html&quot; target=&quot;_blank&quot;&gt;foo/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</ins><span class="cx">         htmlForIndividualTestOnAllBuildersWithResultsLinks(test1));
</span><span class="cx"> 
</span><span class="cx">     tests = [test1, test2];
</span><span class="cx">     equal(htmlForIndividualTests(tests),
</span><del>-        '&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/foo/nonexistant.html&quot; target=&quot;_blank&quot;&gt;foo/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</del><ins>+        '&lt;h2&gt;&lt;a href=&quot;https://trac.webkit.org/browser/trunk/LayoutTests/foo/nonexistant.html&quot; target=&quot;_blank&quot;&gt;foo/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</ins><span class="cx">         htmlForIndividualTestOnAllBuildersWithResultsLinks(test1) + '&lt;hr&gt;' +
</span><del>-        '&lt;h2&gt;&lt;a href=&quot;http://trac.webkit.org/browser/trunk/LayoutTests/bar/nonexistant.html&quot; target=&quot;_blank&quot;&gt;bar/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</del><ins>+        '&lt;h2&gt;&lt;a href=&quot;https://trac.webkit.org/browser/trunk/LayoutTests/bar/nonexistant.html&quot; target=&quot;_blank&quot;&gt;bar/nonexistant.html&lt;/a&gt;&lt;/h2&gt;' +
</ins><span class="cx">         htmlForIndividualTestOnAllBuildersWithResultsLinks(test2));
</span><span class="cx"> });
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsTestResultServerstaticdashboardstreemapjs"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestResultServer/static-dashboards/treemap.js (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestResultServer/static-dashboards/treemap.js        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/TestResultServer/static-dashboards/treemap.js        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -97,7 +97,7 @@
</span><span class="cx"> var g_history = new history.History(treemapConfig);
</span><span class="cx"> g_history.parseCrossDashboardParameters();
</span><span class="cx"> 
</span><del>-var TEST_URL_BASE_PATH = &quot;http://svn.webkit.org/repository/webkit/trunk/&quot;;
</del><ins>+var TEST_URL_BASE_PATH = &quot;https://svn.webkit.org/repository/webkit/trunk/&quot;;
</ins><span class="cx"> 
</span><span class="cx"> function humanReadableTime(milliseconds)
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkToolsTestResultServerstaticdashboardsuijs"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestResultServer/static-dashboards/ui.js (187974 => 187975)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestResultServer/static-dashboards/ui.js        2015-08-05 19:31:35 UTC (rev 187974)
+++ trunk/Tools/TestResultServer/static-dashboards/ui.js        2015-08-05 19:54:12 UTC (rev 187975)
</span><span class="lines">@@ -182,8 +182,8 @@
</span><span class="cx">         results,
</span><span class="cx">         index,
</span><span class="cx">         WEBKIT_REVISIONS_KEY,
</span><del>-        'http://trac.webkit.org/changeset/&lt;rev&gt;',
-        'http://trac.webkit.org/log/trunk/?rev=&lt;rev1&gt;&amp;stop_rev=&lt;rev2&gt;&amp;limit=100&amp;verbose=on');
</del><ins>+        'https://trac.webkit.org/changeset/&lt;rev&gt;',
+        'https://trac.webkit.org/log/trunk/?rev=&lt;rev1&gt;&amp;stop_rev=&lt;rev2&gt;&amp;limit=100&amp;verbose=on');
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>