зеркало из https://github.com/mozilla/gecko-dev.git
More updates. NOT PART OF THE BUILD
This commit is contained in:
Родитель
6e490b4112
Коммит
5c29f12775
|
@ -47,9 +47,6 @@ interface nsIObserver;
|
|||
* the dialog itself, so it won't get freed until the dialog closes.
|
||||
* The dialog will keep the instance alive, so typically one does
|
||||
* not need to hold a reference to it.
|
||||
*
|
||||
* Important Note: Implementors of this interface must also implement
|
||||
* nsISupportsWeakReference.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(88A478B3-AF65-440a-94DC-ED9B154D2990)]
|
||||
|
|
|
@ -293,7 +293,6 @@ this.dump( "nsProgressDialog::onStatusChange, status=" + this.hex( aStatus ) + "
|
|||
QueryInterface: function (iid) {
|
||||
if (!iid.equals(Components.interfaces.nsIProgressDialog) &&
|
||||
!iid.equals(Components.interfaces.nsIWebProgressListener) &&
|
||||
!iid.equals(Components.interfaces.nsISupportsWeakReference) &&
|
||||
!iid.equals(Components.interfaces.nsIObserver) &&
|
||||
!iid.equals(Components.interfaces.nsISupports)) {
|
||||
throw Components.results.NS_ERROR_NO_INTERFACE;
|
||||
|
@ -452,8 +451,8 @@ this.dump( "nsProgressDialog::onStatusChange, status=" + this.hex( aStatus ) + "
|
|||
var title = this.saving ? this.getString( "savingTitle" ) : this.getString( "openingTitle" );
|
||||
|
||||
// Use file name as insert 1.
|
||||
var fname = this.target.unicodePath;
|
||||
var n = this.target.unicodePath.lastIndexOf( "\\" );
|
||||
var fname = this.target? this.target.unicodePath : " ";
|
||||
var n = fname.lastIndexOf( "\\" );
|
||||
title = this.replaceInsert( title, 1, fname.substring( n + 1 ) );
|
||||
|
||||
// Use percentage as insert 2.
|
||||
|
|
Загрузка…
Ссылка в новой задаче