Bug 998302 - Connect to about:config instead of about:credits to avoid accessing mozilla.org when the test runs. r=robcee, a=test-only
authorRob Campbell <rcampbell@mozilla.com>
Wed, 07 May 2014 10:38:00 -0400
changeset 199100 6864eb782522e5670617dd20e5637bd1c6365d90
parent 199099 f578c5b407d9694fa3c0bf99166a070ec866d2ed
child 199101 df694f14d84487fdc711cab5d16b00803b4295a4
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrobcee, test-only
bugs998302
milestone31.0a2
Bug 998302 - Connect to about:config instead of about:credits to avoid accessing mozilla.org when the test runs. r=robcee, a=test-only
browser/devtools/webconsole/test/browser_webconsole_chrome.js
--- a/browser/devtools/webconsole/test/browser_webconsole_chrome.js
+++ b/browser/devtools/webconsole/test/browser_webconsole_chrome.js
@@ -2,17 +2,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 // Tests that code completion works properly in chrome tabs, like about:credits.
 
 function test() {
   Task.spawn(function*() {
-    const {tab} = yield loadTab("about:credits");
+    const {tab} = yield loadTab("about:config");
     ok(tab, "tab loaded");
 
     const hud = yield openConsole(tab);
     ok(hud, "we have a console");
     ok(hud.iframeWindow, "we have the console UI window");
 
     let jsterm = hud.jsterm;
     ok(jsterm, "we have a jsterm");