commit | 8358636a39c1a14ad59250180d42ef5a3fabac24 | [log] [tgz] |
---|---|---|
author | Hiroki Nakagawa <nhiroki@chromium.org> | Thu Apr 05 12:32:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 05 12:32:51 2018 |
tree | b273f38f5326ccd8095cadee1a80fc27e4a603f3 | |
parent | ce6b14983e7d886ed4deb207319a8451dd765d68 [diff] |
WebSocket: Implement MixedContentChecker::IsWebSocketAllowed() This is a preparation CL for enabling to establish WebSocket connection off the main thread. In the current implementation, mixed content checks for WebSocket are bound with LocalFrame. This blocks off-main-thread WebSocket. To unblock it, this CL introduces IsWebSocketAllowed() in MixedContentChecker that can do the checks based on both LocalFrame and WorkerGlobalScope. Bug: 825740 Change-Id: I2cb951b4c23b072605602d6a5dc4a38e28ac5bd5 Reviewed-on: https://chromium-review.googlesource.com/983076 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#548392}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .