Chromium Code Reviews
DescriptionSafeBrowsing 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 #
Messages
Total messages: 13 (9 generated)
|
||||||||||||||||||||||||||||