Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking)

This commit is contained in:
Christoph Kerschbaumer 2015-08-05 12:55:14 -07:00
parent 1470527e28
commit 811a9cb829
5 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ MailtoProtocolHandler.prototype = {
},
newChannel: function Proto_newChannel(aURI) {
return newChannel2(aURI, null);
return this.newChannel2(aURI, null);
},
classID: Components.ID("{50777e53-0331-4366-a191-900999be386c}"),

View File

@ -66,7 +66,7 @@ SmsProtocolHandler.prototype = {
},
newChannel: function Proto_newChannel(aURI) {
return newChannel2(aURI, null);
return this.newChannel2(aURI, null);
},
classID: Components.ID("{81ca20cb-0dad-4e32-8566-979c8998bd73}"),

View File

@ -52,7 +52,7 @@ TelProtocolHandler.prototype = {
},
newChannel: function Proto_newChannel(aURI) {
return newChannel2(aURI, null);
return this.newChannel2(aURI, null);
},
classID: Components.ID("{782775dd-7351-45ea-aff1-0ffa872cfdd2}"),

View File

@ -85,7 +85,7 @@ Protocol.prototype = {
},
newChannel: function Proto_newChannel(aURI) {
return newChannel2(aURI, null);
return this.newChannel2(aURI, null);
},
/**

View File

@ -28,7 +28,7 @@ let CustomChromeProtocol = {
},
newChannel: function CCP_newChannel(aURI) {
return newChannel2(aURI, null);
return this.newChannel2(aURI, null);
},
allowPort: function CCP_allowPort(aPort, aScheme) {