зеркало из https://github.com/mozilla/gecko-dev.git
Bug 847863 - Part 2 of 8 - Selectively disable old Download Manager browser-chrome tests. r=enn
This commit is contained in:
Родитель
e776992575
Коммит
a49967ec81
|
@ -4,6 +4,12 @@
|
|||
|
||||
function test()
|
||||
{
|
||||
try {
|
||||
if (Services.prefs.getBoolPref("browser.download.useJSTransfer")) {
|
||||
return;
|
||||
}
|
||||
} catch (ex) { }
|
||||
|
||||
const PREF_BDM_CLOSEWHENDONE = "browser.download.manager.closeWhenDone";
|
||||
var dm = Cc["@mozilla.org/download-manager;1"].
|
||||
getService(Ci.nsIDownloadManager);
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
function test() {
|
||||
try {
|
||||
if (Services.prefs.getBoolPref("browser.download.useJSTransfer")) {
|
||||
return;
|
||||
}
|
||||
} catch (ex) { }
|
||||
|
||||
waitForExplicitFinish();
|
||||
|
||||
let privateWin = null;
|
||||
|
|
|
@ -61,6 +61,12 @@ var testFuncs = [
|
|||
|
||||
function test()
|
||||
{
|
||||
try {
|
||||
if (Services.prefs.getBoolPref("browser.download.useJSTransfer")) {
|
||||
return;
|
||||
}
|
||||
} catch (ex) { }
|
||||
|
||||
var dm = Cc["@mozilla.org/download-manager;1"].
|
||||
getService(Ci.nsIDownloadManager);
|
||||
var db = dm.DBConnection;
|
||||
|
|
Загрузка…
Ссылка в новой задаче