Add escape & appeal buttons to phishing/malware clickthrough bar. r=gavin r=tony ui-r=beltzner b=441624
This commit is contained in:
@@ -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_;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user