зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking)
This commit is contained in:
Родитель
5e90ccec17
Коммит
253e851464
|
@ -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}"),
|
||||
|
|
|
@ -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}"),
|
||||
|
|
|
@ -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}"),
|
||||
|
|
|
@ -85,7 +85,7 @@ Protocol.prototype = {
|
|||
},
|
||||
|
||||
newChannel: function Proto_newChannel(aURI) {
|
||||
return newChannel2(aURI, null);
|
||||
return this.newChannel2(aURI, null);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче