зеркало из https://github.com/mozilla/pjs.git
Bug 393922 - "Remove nsIDownloadProgressListener::onStatusChange and nsIDownloadProgressListener::onLocationChange" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r=sdwilsh a1.9=beltzner]
This commit is contained in:
Родитель
e8e141bf1f
Коммит
eb872971f7
|
@ -52,7 +52,7 @@ interface nsIURI;
|
|||
interface nsIDownload;
|
||||
interface nsIDOMDocument;
|
||||
|
||||
[scriptable, uuid(8b193f0a-cf0c-4b5f-b4e3-a388df6f07b2)]
|
||||
[scriptable, uuid(7acb07ea-cac2-4c15-a3ad-23aaa789ed51)]
|
||||
interface nsIDownloadProgressListener : nsISupports {
|
||||
|
||||
/**
|
||||
|
@ -85,17 +85,6 @@ interface nsIDownloadProgressListener : nsISupports {
|
|||
in long long aMaxTotalProgress,
|
||||
in nsIDownload aDownload);
|
||||
|
||||
void onStatusChange(in nsIWebProgress aWebProgress,
|
||||
in nsIRequest aRequest,
|
||||
in nsresult aStatus,
|
||||
in wstring aMessage,
|
||||
in nsIDownload aDownload);
|
||||
|
||||
void onLocationChange(in nsIWebProgress aWebProgress,
|
||||
in nsIRequest aRequest,
|
||||
in nsIURI aLocation,
|
||||
in nsIDownload aDownload);
|
||||
|
||||
void onSecurityChange(in nsIWebProgress aWebProgress,
|
||||
in nsIRequest aRequest,
|
||||
in unsigned long aState,
|
||||
|
|
|
@ -174,8 +174,6 @@ function getDownloadListener()
|
|||
},
|
||||
onStateChange: function(a, b, c, d, e) { },
|
||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||
onStatusChange: function(a, b, c, d, e) { },
|
||||
onLocationChange: function(a, b, c, d) { },
|
||||
onSecurityChange: function(a, b, c, d) { }
|
||||
};
|
||||
}
|
||||
|
|
|
@ -85,8 +85,6 @@ function run_test()
|
|||
},
|
||||
onStateChange: function(a, b, c, d, e) { },
|
||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||
onStatusChange: function(a, b, c, d, e) { },
|
||||
onLocationChange: function(a, b, c, d) { },
|
||||
onSecurityChange: function(a, b, c, d) { }
|
||||
};
|
||||
dm.addListener(listener);
|
||||
|
|
|
@ -105,8 +105,6 @@ function run_test()
|
|||
},
|
||||
onStateChange: function(a, b, c, d, e) { },
|
||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||
onStatusChange: function(a, b, c, d, e) { },
|
||||
onLocationChange: function(a, b, c, d) { },
|
||||
onSecurityChange: function(a, b, c, d) { }
|
||||
};
|
||||
|
||||
|
|
|
@ -142,8 +142,6 @@ function run_test()
|
|||
},
|
||||
onStateChange: function(a, b, c, d, e) { },
|
||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||
onStatusChange: function(a, b, c, d, e) { },
|
||||
onLocationChange: function(a, b, c, d) { },
|
||||
onSecurityChange: function(a, b, c, d) { }
|
||||
};
|
||||
dm.addListener(listener);
|
||||
|
|
|
@ -139,8 +139,6 @@ function run_test()
|
|||
}
|
||||
},
|
||||
onProgressChange: function(a, b, c, d, e, f, g) { },
|
||||
onStatusChange: function(a, b, c, d, e) { },
|
||||
onLocationChange: function(a, b, c, d) { },
|
||||
onSecurityChange: function(a, b, c, d) { }
|
||||
});
|
||||
|
||||
|
|
|
@ -132,14 +132,6 @@ DownloadProgressListener.prototype = {
|
|||
{
|
||||
},
|
||||
|
||||
onLocationChange: function(aWebProgress, aRequest, aLocation, aDownload)
|
||||
{
|
||||
},
|
||||
|
||||
onStatusChange: function(aWebProgress, aRequest, aStatus, aMessage, aDownload)
|
||||
{
|
||||
},
|
||||
|
||||
onSecurityChange: function(aWebProgress, aRequest, aState, aDownload)
|
||||
{
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче