Remove redundant Cc/Ci declarations from browser chrome tests. DONTBUILD

This commit is contained in:
Dão Gottwald 2011-06-09 09:38:27 +02:00
Родитель 374e20f6b3
Коммит 7b6c3aca45
6 изменённых файлов: 1 добавлений и 19 удалений

Просмотреть файл

@ -36,9 +36,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
const Cc = Components.classes;
const Ci = Components.interfaces;
function test() { function test() {
waitForExplicitFinish(); waitForExplicitFinish();

Просмотреть файл

@ -35,9 +35,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
const Cc = Components.classes;
const Ci = Components.interfaces;
function test() { function test() {
waitForExplicitFinish(); waitForExplicitFinish();

Просмотреть файл

@ -35,9 +35,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
const Cc = Components.classes;
const Ci = Components.interfaces;
function test() { function test() {
waitForExplicitFinish(); waitForExplicitFinish();

Просмотреть файл

@ -35,9 +35,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
const Cc = Components.classes;
const Ci = Components.interfaces;
const PROMPT_URL = "chrome://global/content/commonDialog.xul"; const PROMPT_URL = "chrome://global/content/commonDialog.xul";
const TEST_URL = "http://example.com/browser/toolkit/components/startup/tests/browser/beforeunload.html"; const TEST_URL = "http://example.com/browser/toolkit/components/startup/tests/browser/beforeunload.html";

Просмотреть файл

@ -35,9 +35,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
const Cc = Components.classes;
const Ci = Components.interfaces;
const PROMPT_URL = "chrome://global/content/commonDialog.xul"; const PROMPT_URL = "chrome://global/content/commonDialog.xul";
const TEST_URL = "http://example.com/browser/toolkit/components/startup/tests/browser/beforeunload.html"; const TEST_URL = "http://example.com/browser/toolkit/components/startup/tests/browser/beforeunload.html";

Просмотреть файл

@ -1,9 +1,6 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
const Cc = Components.classes;
const Ci = Components.interfaces;
const URI_BLOCKLIST_DIALOG = "chrome://mozapps/content/extensions/blocklist.xul"; const URI_BLOCKLIST_DIALOG = "chrome://mozapps/content/extensions/blocklist.xul";
Components.utils.import("resource://gre/modules/Services.jsm"); Components.utils.import("resource://gre/modules/Services.jsm");
@ -122,4 +119,4 @@ function bug523784_test2(win) {
args.wrappedJSObject = args; args.wrappedJSObject = args;
Services.ww.openWindow(null, URI_BLOCKLIST_DIALOG, "", Services.ww.openWindow(null, URI_BLOCKLIST_DIALOG, "",
"chrome,centerscreen,dialog,titlebar", args); "chrome,centerscreen,dialog,titlebar", args);
} }