Bug 1238435 - Use a slow-loading image in some tests that will load after a minute and a half rather than seven and a half weeks, r=Ms2ger
authorJames Graham <james@hoppipolla.co.uk>
Thu, 17 Mar 2016 23:45:46 +0000
changeset 289396 7657ca3b8c006615a54e81e5aa7123f8f2f58436
parent 289395 3b4efd3e713cba744009493a8283e524275e8d03
child 289397 6ab07b5c4c3eab8e76793e6ff630a94b59442991
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs1238435
milestone48.0a1
Bug 1238435 - Use a slow-loading image in some tests that will load after a minute and a half rather than seven and a half weeks, r=Ms2ger MozReview-Commit-ID: KQXGe8oqQoc
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_assign_during_load-1.html
testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_location_replace_during_load-1.html
testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load-manual.html
testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load.html
testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_form_submit_assign_during_load-1.html
testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load-1.html
testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load-1.html
testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load-1.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -34734,18 +34734,28 @@
         "path": "webdriver/windows/tabbing.py"
       },
       {
         "path": "webdriver/windows/window_manipulation.py"
       }
     ]
   },
   "local_changes": {
-    "deleted": [],
+    "deleted": [
+      "html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load.html"
+    ],
     "items": {
+      "manual": {
+        "html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load-manual.html": [
+          {
+            "path": "html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load-manual.html",
+            "url": "/html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load-manual.html"
+          }
+        ]
+      },
       "testharness": {
         "dom/collections/HTMLCollection-supported-property-indices.html": [
           {
             "path": "dom/collections/HTMLCollection-supported-property-indices.html",
             "url": "/dom/collections/HTMLCollection-supported-property-indices.html"
           }
         ],
         "fetch/api/request/request-cache.html": [
--- a/testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_assign_during_load-1.html
+++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_assign_during_load-1.html
@@ -1,7 +1,7 @@
 <!doctype html>
 <script>
 opener.history_length = history.length;
 </script>
 <a onclick="location = 'manual_click_assign_during_load-2.html'; return false;" href>Click Here</a>
 <p>Filler image to keep the page loading:</p>
-<img src="/media/2048x1360-random.jpg?pipe=trickle(d1:1:r2)">
+<img src="/images/smiley.png?pipe=trickle(20:d1:r2)">
--- a/testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_location_replace_during_load-1.html
+++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_location_replace_during_load-1.html
@@ -1,10 +1,10 @@
 <!doctype html>
 <script>
 opener.history_length = history.length;
 </script>
 <a onclick="location.replace('manual_click_location_replace_during_load-2.html'); return false;" href>Click Here</a>
 <p>Filler image to keep the page loading:</p>
 <img>
 <script>
-document.images[0].src = "/media/2048x1360-random.jpg?pipe=trickle(d1:1:r2)&random=" + Math.random();
+document.images[0].src = "/images/smiley.png?pipe=trickle(20:d1:r2)&random=" + Math.random();
 </script>
rename from testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load.html
rename to testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_click_replace_during_load-manual.html
--- a/testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_form_submit_assign_during_load-1.html
+++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/non-automated/manual_form_submit_assign_during_load-1.html
@@ -1,9 +1,9 @@
 <!doctype html>
 <script>
 opener.history_length = history.length;
 </script>
 <form onsubmit="location = 'manual_form_submit_assign_during_load-2.html'; return false;">
 <input type=submit value="Click Me">
 </form>
 <p>Filler image to keep the page loading:</p>
-<img src="/media/2048x1360-random.jpg?pipe=trickle(d1:1:r2)">
+<img src="/images/smiley.png?pipe=trickle(20:d1:r2)">
--- a/testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load-1.html
+++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load-1.html
@@ -2,9 +2,9 @@
 <script>
 opener.history_length = history.length;
 </script>
 <a onclick="location = 'scripted_click_assign_during_load-2.html'; return false;" href>Click Here</a>
 <script>
 document.links[0].click()
 </script>
 <p>Filler image to keep the page loading:</p>
-<img src="/media/2048x1360-random.jpg?pipe=trickle(d1:1:r2)">
+<img src="/images/smiley.png?pipe=trickle(20:d1:r2)">
--- a/testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load-1.html
+++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load-1.html
@@ -4,10 +4,10 @@ opener.history_length = history.length;
 </script>
 <a onclick="location.assign('scripted_click_location_assign_during_load-2.html'); return false;" href>Click Here</a>
 <script>
 document.links[0].click()
 </script>
 <p>Filler image to keep the page loading:</p>
 <img>
 <script>
-document.images[0].src = "/media/2048x1360-random.jpg?pipe=trickle(d1:1:r2)&random=" + Math.random()
+document.images[0].src = "/images/smiley.png?pipe=trickle(20:d1:r2)&random=" + Math.random()
 </script>
--- a/testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load-1.html
+++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load-1.html
@@ -4,9 +4,9 @@ opener.history_length = history.length;
 </script>
 <form onsubmit="location = 'scripted_form_submit_assign_during_load-2.html'; return false;">
 <input type=submit value="Click Me">
 </form>
 <script>
 document.forms[0].elements[0].click()
 </script>
 <p>Filler image to keep the page loading:</p>
-<img src="/media/2048x1360-random.jpg?pipe=trickle(d1:1:r2)">
+<img src="/images/smiley.png?pipe=trickle(20:d1:r2)">