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 192227 d43267eaf528
parent 192226 f59b7498a97f
child 192228 e532119b92ab
push id3532
push userryanvm@gmail.com
push date2014-05-08 15:27 +0000
Treeherderresults
reviewersrobcee, test-only
bugs998302
milestone30.0
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");