|
Fix stream errors that occur after a stream starts not propagating.
Currently a stream was treated as having no errors even if an error occurs after reading starts. This change plumbs the error through.
This fixes the following tests with PlzNavigate:
ChromeURLDataManagerTest.LargeResourceScale
ChromeURLDataManagerTest.UnknownResource
BUG= 426162, 508957, 504347
Committed: https://crrev.com/e87eeddc2e3bdba960c0803221864a1f8037b33b
Cr-Commit-Position: refs/heads/master@{#421237}
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+69 lines, -36 lines) |
Patch |
 |
M |
content/browser/fileapi/fileapi_message_filter.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_resource_handler.cc
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/stream_resource_handler.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/stream_writer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/stream_writer.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_url_request_job_unittest.cc
|
View
|
1
2
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/streams/stream.h
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/streams/stream.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/streams/stream_unittest.cc
|
View
|
1
2
|
6 chunks |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/streams/stream_url_request_job.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/streams/stream_url_request_job.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/streams/stream_url_request_job_unittest.cc
|
View
|
1
2
|
6 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/public/test/browser_side_navigation_test_utils.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 17 (11 generated)
|