Skip to content

Commit

Permalink
Small interstitial JS cleanup
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
adrifelt authored and Commit bot committed May 22, 2017
1 parent 91acb13 commit 4ecb956
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 4ecb956

Please sign in to comment.