Commit 4ecb9563 authored by felt's avatar felt Committed by Commit bot

Small interstitial JS cleanup

Some code was still hanging around from a deprecated field trial.
This CL cleans it up.

BUG=

Review-Url: https://codereview.chromium.org/2895923003
Cr-Commit-Position: refs/heads/master@{#473686}
parent 91acb133
......@@ -157,10 +157,7 @@ function setupEvents() {
});
}
// TODO(felt): This should be simplified once the Finch trial is no longer
// needed.
if (interstitialType == 'SAFEBROWSING' &&
loadTimeData.getBoolean('phishing') && $('report-error-link')) {
if ($('report-error-link')) {
$('report-error-link').addEventListener('click', function(event) {
sendCommand(SecurityInterstitialCommandId.CMD_REPORT_PHISHING_ERROR);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment