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 157123 3531ae88a005c2f3376527fffc11658b53060293
parent 157122 f32725ef402c23aec86decd8a21ab32211404fdd
child 157124 7a0be20beae7c4dfc368a198e7579dabe3813ac9
push id501
push userryanvm@gmail.com
push dateThu, 08 May 2014 15:55:36 +0000
reviewersrobcee, test-only
bugs998302
milestone26.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
@@ -1,17 +1,17 @@
 /* vim:set ts=2 sw=2 sts=2 et: */
 /* 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.
 
 function test() {
-  addTab("about:credits");
+  addTab("about:config");
   browser.addEventListener("load", function onLoad() {
     browser.removeEventListener("load", onLoad, true);
     openConsole(null, testChrome);
   }, true);
 }
 
 function testChrome(hud) {
   ok(hud, "we have a console");