-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WebSocket to use Fetch's WebSocket alterations
This makes the following changes to the WebSocket API: * Moves Mixed Content, HSTS, and cookie handling to the network layer. * Makes sure that other things handled by the network layer now also apply to WebSocket, such as upgrading of insecure requests. * Removes the unused "extensions in use" concept. * Removes the "client-specified protocols" concept since that is entirely handled by the Web Socket Protocol specification (and still is with the Fetch alterations). * Inlines the parsing of URLs since it's a lot less involved now. Also uses the URL parser rather than the "parse a URL" construct since there's no base URL. Fixes #180, https://www.w3.org/Bugs/Public/show_bug.cgi?id=27869, and https://www.w3.org/Bugs/Public/show_bug.cgi?id=26967.
- Loading branch information
Showing
1 changed file
with
44 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters