chatzilla only.
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org - Add stub allowPort method. - Fix signature for handleContent method, bug 80993 git-svn-id: svn://10.0.0.236/trunk@96580 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c105a5b6f7
commit
f7d7c43317
@ -107,15 +107,16 @@ function (iid) {
|
||||
}
|
||||
|
||||
IRCContentHandler.prototype.handleContent =
|
||||
function (aContentType, aCommand, aWindowTarget, aSourceContext, aRequest)
|
||||
function (aContentType, aCommand, aWindowTarget, aRequest)
|
||||
{
|
||||
var e;
|
||||
var channel = aRequest.QueryInterface(nsIChannel);
|
||||
|
||||
dump ("ircLoader.handleContent (" + aContentType + ", " +
|
||||
aCommand + ", " + aWindowTarget + ", " + aSourceContext + ", " +
|
||||
channel.URI.spec + ")\n");
|
||||
|
||||
/*
|
||||
dump ("ircLoader.handleContent (" + aContentType + ", " +
|
||||
aCommand + ", " + aWindowTarget + ", " + channel.URI.spec + ")\n");
|
||||
*/
|
||||
|
||||
var windowManager =
|
||||
Components.classes[MEDIATOR_CONTRACTID].getService(nsIWindowMediator);
|
||||
|
||||
@ -160,6 +161,12 @@ function IRCProtocolHandler()
|
||||
IRCProtocolHandler.prototype.scheme = "irc";
|
||||
IRCProtocolHandler.prototype.defaultPort = 6667;
|
||||
|
||||
IRCProtocolHandler.prototype.allowPort =
|
||||
function (aPort, aScheme)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
IRCProtocolHandler.prototype.newURI =
|
||||
function (aSpec, aBaseURI)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user