Add escape & appeal buttons to phishing/malware clickthrough bar. r=gavin r=tony ui-r=beltzner b=441624

This commit is contained in:
Johnathan Nightingale
2008-10-27 15:36:46 -04:00
parent a45da01b57
commit d2a9908fab
5 changed files with 57 additions and 5 deletions

View File

@@ -113,6 +113,8 @@ PROT_DataProvider.prototype.loadDataProviderPrefs_ = function() {
this.reportGenericURL_ = this.getUrlPref_(basePref + "reportGenericURL");
this.reportErrorURL_ = this.getUrlPref_(basePref + "reportErrorURL");
this.reportPhishURL_ = this.getUrlPref_(basePref + "reportPhishURL");
this.reportMalwareURL_ = this.getUrlPref_(basePref + "reportMalwareURL")
this.reportMalwareErrorURL_ = this.getUrlPref_(basePref + "reportMalwareErrorURL")
// Propagate the changes to the list-manager.
this.updateListManager_();
@@ -220,3 +222,9 @@ PROT_DataProvider.prototype.getReportErrorURL = function() {
PROT_DataProvider.prototype.getReportPhishURL = function() {
return this.reportPhishURL_;
}
PROT_DataProvider.prototype.getReportMalwareURL = function() {
return this.reportMalwareURL_;
}
PROT_DataProvider.prototype.getReportMalwareErrorURL = function() {
return this.reportMalwareErrorURL_;
}

View File

@@ -85,7 +85,7 @@ var safebrowsing = {
/**
* Used to report a phishing page or a false positive
* @param name String either "Phish" or "Error"
* @param name String One of "Phish", "Error", "Malware" or "MalwareError"
* @return String the report phishing URL.
*/
getReportURL: function(name) {