Bug 805338 - Use http://127.0.0.1:1/ as a reliable error page for testing r=jaws
authorTim Taubert <ttaubert@mozilla.com>
Wed, 16 Jan 2013 13:34:03 +0100
changeset 119123 efd6dc4cd8251586d4549e266319839a660bd6c9
parent 118921 d8be4bc4fba886dc37544ca1b3bf984df4cb9dde
child 119124 99a5aeaf36ea309c8a67fe543720100517f95109
push id24192
push usermozilla@noorenberghe.ca
push dateFri, 18 Jan 2013 00:18:36 +0000
treeherdermozilla-central@b52c02f77cf5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs805338
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 805338 - Use http://127.0.0.1:1/ as a reliable error page for testing r=jaws
browser/components/thumbnails/test/browser_thumbnails_bug726727.js
--- a/browser/components/thumbnails/test/browser_thumbnails_bug726727.js
+++ b/browser/components/thumbnails/test/browser_thumbnails_bug726727.js
@@ -2,17 +2,17 @@
    http://creativecommons.org/publicdomain/zero/1.0/ */
 
 /**
  * These tests ensure that capturing a sites's thumbnail, saving it and
  * retrieving it from the cache works.
  */
 function runTests() {
   // Create a tab that shows an error page.
-  let tab = gBrowser.addTab("http://non-existant.url/");
+  let tab = gBrowser.addTab("http://127.0.0.1:1/");
   let browser = tab.linkedBrowser;
 
   yield browser.addEventListener("DOMContentLoaded", function onLoad() {
     browser.removeEventListener("DOMContentLoaded", onLoad, false);
     executeSoon(next);
   }, false);
 
   ok(!gBrowserThumbnails._shouldCapture(browser), "we're not going to capture an error page");