Bug 798685 - Port |Bug 794602 - nsWebBrowserPersist::SaveURIInternal creates a channel out of thin air.| to SeaMonkey. r=Neil
This commit is contained in:
Родитель
3d8f035869
Коммит
1e9279f248
|
@ -204,7 +204,7 @@ function test()
|
|||
Math.round(Date.now() * 1000), null, persist);
|
||||
|
||||
persist.progressListener = dl.QueryInterface(Components.interfaces.nsIWebProgressListener);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile, null);
|
||||
|
||||
return dl;
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ function test()
|
|||
Math.round(Date.now() * 1000), null, persist);
|
||||
|
||||
persist.progressListener = dl.QueryInterface(Components.interfaces.nsIWebProgressListener);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile, null);
|
||||
|
||||
return dl;
|
||||
}
|
||||
|
|
|
@ -172,7 +172,7 @@ function test()
|
|||
Math.round(Date.now() * 1000), null, persist);
|
||||
|
||||
persist.progressListener = dl.QueryInterface(Components.interfaces.nsIWebProgressListener);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile, null);
|
||||
|
||||
return dl;
|
||||
}
|
||||
|
|
|
@ -171,7 +171,7 @@ function test()
|
|||
Math.round(Date.now() * 1000), null, persist);
|
||||
|
||||
persist.progressListener = dl.QueryInterface(Components.interfaces.nsIWebProgressListener);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile, null);
|
||||
|
||||
return dl;
|
||||
}
|
||||
|
|
|
@ -148,7 +148,7 @@ function test()
|
|||
Math.round(Date.now() * 1000), null, persist);
|
||||
|
||||
persist.progressListener = dl.QueryInterface(Components.interfaces.nsIWebProgressListener);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile);
|
||||
persist.saveURI(dl.source, null, null, null, null, dl.targetFile, null);
|
||||
|
||||
return dl;
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ function onLoad()
|
|||
document.getElementById("source").value =
|
||||
gBundle.getFormattedString("fromSource", [gSource.file.leafName]);
|
||||
gPersist.progressListener = gProgressListener;
|
||||
gPersist.saveURI(gSource, null, null, null, null, gTarget);
|
||||
gPersist.saveURI(gSource, null, null, null, null, gTarget, null);
|
||||
document.documentElement.getButton("cancel").focus();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче