mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1147562 - Update remaining callsites of newChannel before landing the shim in netwerk/ (r=jduell)
This commit is contained in:
parent
e39c6b8427
commit
48400592ff
@ -24,6 +24,7 @@ ProtocolHandler.prototype = {
|
||||
Ci.nsIProtocolHandler.URI_NON_PERSISTABLE |
|
||||
Ci.nsIProtocolHandler.URI_SYNC_LOAD_IS_OK,
|
||||
newURI: function(aSpec, aOriginCharset, aBaseURI) this.uri,
|
||||
newChannel2: function(aURI, aLoadInfo) this,
|
||||
newChannel: function(aURI) this,
|
||||
allowPort: function(port, scheme) port != -1,
|
||||
|
||||
|
@ -51,6 +51,9 @@ TestProtocolHandler.prototype = {
|
||||
uri.spec = spec;
|
||||
return uri;
|
||||
},
|
||||
newChannel2: function(uri, aLoadInfo) {
|
||||
throw Components.results.NS_ERROR_NOT_IMPLEMENTED;
|
||||
},
|
||||
newChannel: function(uri) {
|
||||
throw Components.results.NS_ERROR_NOT_IMPLEMENTED;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user