mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 307142 strict JS error in phishingDetector.js
r=neil.parkwaycc.co.u sr=bienvenu
This commit is contained in:
parent
772ae6f9bc
commit
473c80a45e
@ -105,7 +105,7 @@ function isPhishingURL(aLinkNode, aSilentMode, aHref)
|
||||
var isPhishingURL = false;
|
||||
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
|
||||
hrefURL = ioService.newURI(href, null, null);
|
||||
var hrefURL = ioService.newURI(href, null, null);
|
||||
|
||||
// only check for phishing urls if the url is an http or https link.
|
||||
// this prevents us from flagging imap and other internally handled urls
|
||||
|
Loading…
Reference in New Issue
Block a user