|
Support recovery from SSL errors.
Previously, the new WebSocket implementation was unable to handle sites
with self-signed certificates and other cases where the user had
overridden certificate errors. Add code to support this case.
This requires adding infrastructure to pass the SSL error back up to the
content layer which knows how to handle it. It also requires that the ID
of the frame be known, so an extra parameter has been added to the
WebSocketHostMsg_AddChannelRequest IPC message.
BUG= 364361
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275066
Total comments: 2
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+430 lines, -47 lines) |
Patch |
|
M |
content/browser/renderer_host/websocket_dispatcher_host.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/websocket_dispatcher_host_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/websocket_host.h
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/websocket_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+107 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/child/websocket_bridge.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/common/websocket_messages.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_channel.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_channel.cc
|
View
|
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_channel_test.cc
|
View
|
1
2
3
|
8 chunks |
+55 lines, -1 line |
0 comments
|
Download
|
|
M |
net/websockets/websocket_event_interface.h
|
View
|
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_handshake_stream_create_helper_test.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_stream.h
|
View
|
1
2
3
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+57 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_stream_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
8 chunks |
+67 lines, -4 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_test_util.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+25 lines, -9 lines |
0 comments
|
Download
|
|
M |
net/websockets/websocket_test_util.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|