Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Issue 2971333002: SafeBrowsing test for WebSocket connection from worker (Closed)

Created:
3 years, 5 months ago by Adam Rice
Modified:
3 years, 5 months ago
CC:
chromium-reviews, grt+watch_chromium.org, vakh+watch_chromium.org, timvolodine
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SafeBrowsing test for WebSocket connection from worker Only WebSocket connections from the main page were tested. WebSocket connections from Workers should also lead to display of an interstitial. Modify malware_websocket.html to accept a "type" query parameter indicating which environment to create the WebSocket in. Make the MalwareWebSocketBlocked tests be parameterised on the environment type. Due to a recent change (https://codereview.chromium.org/2960703003), these changes need to be tested by passing --enable-features=NetworkService to browser_tests, as opposed to the --enable-network-service argument that was needed before. BUG=644744 Review-Url: https://codereview.chromium.org/2971333002 Cr-Commit-Position: refs/heads/master@{#488151} Committed: https://chromium.googlesource.com/chromium/src/+/0ddd2a9b99d89c93a354738181d1918796e5e2a2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -12 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 9 chunks +42 lines, -7 lines 0 comments Download
M chrome/test/data/safe_browsing/malware_websocket.html View 1 chunk +37 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
Adam Rice
3 years, 5 months ago (2017-07-07 14:59:46 UTC) #4
vakh (use Gerrit instead)
lgtm
3 years, 5 months ago (2017-07-19 16:41:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2971333002/1
3 years, 5 months ago (2017-07-20 05:23:36 UTC) #10
commit-bot: I haz the power
3 years, 5 months ago (2017-07-20 06:38:13 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0ddd2a9b99d89c93a354738181d1...

Powered by Google App Engine
This is Rietveld 408576698