зеркало из https://github.com/mozilla/pjs.git
Remove redundant Cc/Ci declarations from browser chrome tests. DONTBUILD
This commit is contained in:
Родитель
374e20f6b3
Коммит
7b6c3aca45
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче