DescriptionMap WebSocket URL schemes to HTTP URL schemes for auth purposes.
This permits WebSocket connections to inherit credentials from HTTP pages, and
matches the behaviour of other browsers.
Design doc: https://docs.google.com/a/chromium.org/document/d/129rLtf5x3hvhP5rayLiSxnEjOXS8Z7EnLJgBL4CdwjI/edit
Also consider any 401 or 407 results that reach the WebSocketStream
URLRequest::Delegate to be unrecoverable errors.
Also ensure that the response headers are reported back to the renderer
when the developer tools are open and a 401 error happens.
BUG=123862
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286108
Patch Set 1 #Patch Set 2 : Test preflighting auth via HTTP, and also digest auth. #Patch Set 3 : Remove unused file. #
Total comments: 2
Patch Set 4 : Factor out WebSocketDispatchOnFinishOpeningHandshake() into a separate function. #
Total comments: 7
Patch Set 5 : Style fixes. #
Total comments: 2
Patch Set 6 : Add missing DISALLOW_COPY_AND_ASSIGN(AutoLogin) #Patch Set 7 : Rebase. #Patch Set 8 : Replace accidentally removed #include <string> #
Total comments: 3
Messages
Total messages: 26 (0 generated)
|