mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Fixed small typos in Darin's nsIIOService checkin. b=157131, r=dougt, sr=alecf
This commit is contained in:
parent
d31ef8b834
commit
7b8132f0cc
@ -689,7 +689,7 @@ function GetScheme(urlspec)
|
||||
|
||||
function GetHost(urlspec)
|
||||
{
|
||||
if (!url)
|
||||
if (!urlspec)
|
||||
return "";
|
||||
|
||||
var IOService = GetIOService();
|
||||
@ -706,7 +706,7 @@ function GetHost(urlspec)
|
||||
|
||||
function GetUsername(urlspec)
|
||||
{
|
||||
if (!url)
|
||||
if (!urlspec)
|
||||
return "";
|
||||
|
||||
var IOService = GetIOService();
|
||||
@ -733,7 +733,7 @@ function GetFilename(urlspec)
|
||||
var filename;
|
||||
|
||||
try {
|
||||
uri = IOService.newURI(urlspec, null, null);
|
||||
var uri = IOService.newURI(urlspec, null, null);
|
||||
if (uri)
|
||||
{
|
||||
var url = uri.QueryInterface(Components.interfaces.nsIURL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user