Bug 1210920 - regression from talos webserver- talos damp doesn't load a real page. r=bgrins

This commit is contained in:
Joel Maher 2015-10-02 16:12:54 -04:00
parent 1aeddb5fd6
commit 53cd91c49f
2 changed files with 4 additions and 1 deletions

View File

@ -358,6 +358,7 @@ class damp(PageloaderTest):
sps_profile_entries = 1000000
win_counters = w7_counters = linux_counters = mac_counters = None
filters = filter.ignore_first.prepare(1) + filter.median.prepare()
preferences = {'addon.test.damp.webserver': '${webserver}'}
@register_test()

View File

@ -5,8 +5,10 @@ const {devtools} =
const { getActiveTab } = devtools.require("sdk/tabs/utils");
const { getMostRecentBrowserWindow } = devtools.require("sdk/window/utils");
webserver = Services.prefs.getCharPref("addon.test.damp.webserver");
const SIMPLE_URL = "chrome://damp/content/pages/simple.html";
const COMPLICATED_URL = "http://localhost/tests/tp5n/bild.de/www.bild.de/index.html";
const COMPLICATED_URL = webserver + "/tests/tp5n/bild.de/www.bild.de/index.html";
function Damp() {
}