Bug 1307239 - Fix openNewTabAndConsole to use URL provided as argument;r=nchevobbe
MozReview-Commit-ID: 52yNq8GqxT7
--- a/devtools/client/webconsole/new-console-output/test/mochitest/head.js
+++ b/devtools/client/webconsole/new-console-output/test/mochitest/head.js
@@ -35,17 +35,17 @@ registerCleanupFunction(function* () {
*
* @param string url
* The URL for the tab to be opened.
* @return Promise
* Resolves when the tab has been added, loaded and the toolbox has been opened.
* Resolves to the toolbox.
*/
var openNewTabAndConsole = Task.async(function* (url) {
- let toolbox = yield openNewTabAndToolbox(TEST_URI, "webconsole");
+ let toolbox = yield openNewTabAndToolbox(url, "webconsole");
let hud = toolbox.getCurrentPanel().hud;
hud.jsterm._lazyVariablesView = false;
return hud;
});
/**
* Wait for messages in the web console output, resolving once they are receieved.
*