• Xinghui Lu's avatar
    Enable enhanced protection message in interstitials by default. · fc0d1b93
    Xinghui Lu authored
    To fully replace the old SBER checkbox with the new enhanced protection
    message, some tests are removed entirely because the SBER checkbox
    doesn't exist anymore:
    SafeBrowsingBlockingPageBrowserTest.VisitWhitePaper
    SafeBrowsingBlockingPageBrowserTest.ToggleSBEROn
    SafeBrowsingBlockingPageBrowserTest.ToggleSBEROff
    
    Some tests are slightly modified by removing the old
    extended-reporting-opt-in element:
    SafeBrowsingBlockingPageBrowserTest.
      MainFrameBlockedShouldHaveNoDOMDetails
    SafeBrowsingBlockingPageBrowserTest.ReloadWhileInterstitialShowing
    SafeBrowsingBlockingPageBrowserTest.VerifyHitReportNotSentOnIncognito
    
    For PolicyTest, remove the check of opt-in checkbox in
    SafeBrowsingExtendedReportingPolicyManaged and add a new test for
    checking the new enhanced-protection-message message with the
    kSafeBrowsingProtectionLevel policy.
    
    
    Bug: 1130721
    Change-Id: Iaac03d14158d1b207a24b7799ddb8572d22c0d3e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622057
    Commit-Queue: Xinghui Lu <xinghuilu@chromium.org>
    Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
    Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#843356}
    fc0d1b93
safe_browsing_policy_browsertest.cc 17.5 KB