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:
reed@reedloden.com 2007-12-28 19:18:22 -08:00
parent 4b5c25405f
commit 83ad46db2c
7 changed files with 1 additions and 30 deletions

View File

@ -52,7 +52,7 @@ interface nsIURI;
interface nsIDownload; interface nsIDownload;
interface nsIDOMDocument; interface nsIDOMDocument;
[scriptable, uuid(8b193f0a-cf0c-4b5f-b4e3-a388df6f07b2)] [scriptable, uuid(7acb07ea-cac2-4c15-a3ad-23aaa789ed51)]
interface nsIDownloadProgressListener : nsISupports { interface nsIDownloadProgressListener : nsISupports {
/** /**
@ -85,17 +85,6 @@ interface nsIDownloadProgressListener : nsISupports {
in long long aMaxTotalProgress, in long long aMaxTotalProgress,
in nsIDownload aDownload); 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, void onSecurityChange(in nsIWebProgress aWebProgress,
in nsIRequest aRequest, in nsIRequest aRequest,
in unsigned long aState, in unsigned long aState,

View File

@ -174,8 +174,6 @@ function getDownloadListener()
}, },
onStateChange: function(a, b, c, d, e) { }, onStateChange: function(a, b, c, d, e) { },
onProgressChange: function(a, b, c, d, e, f, g) { }, 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) { } onSecurityChange: function(a, b, c, d) { }
}; };
} }

View File

@ -85,8 +85,6 @@ function run_test()
}, },
onStateChange: function(a, b, c, d, e) { }, onStateChange: function(a, b, c, d, e) { },
onProgressChange: function(a, b, c, d, e, f, g) { }, 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) { } onSecurityChange: function(a, b, c, d) { }
}; };
dm.addListener(listener); dm.addListener(listener);

View File

@ -105,8 +105,6 @@ function run_test()
}, },
onStateChange: function(a, b, c, d, e) { }, onStateChange: function(a, b, c, d, e) { },
onProgressChange: function(a, b, c, d, e, f, g) { }, 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) { } onSecurityChange: function(a, b, c, d) { }
}; };

View File

@ -142,8 +142,6 @@ function run_test()
}, },
onStateChange: function(a, b, c, d, e) { }, onStateChange: function(a, b, c, d, e) { },
onProgressChange: function(a, b, c, d, e, f, g) { }, 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) { } onSecurityChange: function(a, b, c, d) { }
}; };
dm.addListener(listener); dm.addListener(listener);

View File

@ -139,8 +139,6 @@ function run_test()
} }
}, },
onProgressChange: function(a, b, c, d, e, f, g) { }, 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) { } onSecurityChange: function(a, b, c, d) { }
}); });

View File

@ -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) onSecurityChange: function(aWebProgress, aRequest, aState, aDownload)
{ {
} }