mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
backing out bug 341946, patch v1
This commit is contained in:
parent
70ec56f2d3
commit
7dd579477a
@ -502,8 +502,10 @@ PROT_PhishingWarden.prototype.checkRemoteData = function(callback,
|
||||
* @returns Boolean indicating whether Fritz thinks it's too boring to notice
|
||||
*/
|
||||
PROT_PhishingWarden.prototype.isSpurious_ = function(url) {
|
||||
return (url.startsWith("about:") ||
|
||||
return (url == "about:blank" ||
|
||||
url == "about:config" ||
|
||||
url.startsWith("chrome://") ||
|
||||
url.startsWith("file://") ||
|
||||
url.startsWith("jar:") ||
|
||||
url.startsWith("javascript:"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user