|
|
More aggressive IO asserts in content_browsertests.
Since browser test's main thread corresponds roughly to the product's UI
thread, it should behave in the same wrt base::ThreadRestrictions -
after this CL the body of browser tests derived from
content::ContentBrowserTest is not allowed to do file IO.
Motivation: The more aggressive IO asserts would have caught
https://crbug.com/626972 earlier. Hopefully the more aggressive
asserting will also prevent future regressions in this area.
BUG= 631145
Committed: https://crrev.com/7947ccd5754451960f0bf18f3b5401dc5ffeedb8
Cr-Commit-Position: refs/heads/master@{#408496}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+312 lines, -149 lines) |
Patch |
 |
M |
PRESUBMIT.py
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_browsertest_base.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+24 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_events_browsertest.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_browsertest.cc
|
View
|
1
|
3 chunks |
+20 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/browser/cross_site_transfer_browsertest.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/download_browsertest.cc
|
View
|
1
|
28 chunks |
+76 lines, -49 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/mhtml_generation_browsertest.cc
|
View
|
1
2
|
12 chunks |
+53 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_browsertest.cc
|
View
|
1
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/webrtc/webrtc_audio_debug_recordings_browsertest.cc
|
View
|
1
2
3
4
|
3 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/webrtc/webrtc_getusermedia_browsertest.cc
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_browsertest.cc
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/tracing/tracing_controller_browsertest.cc
|
View
|
1
2
|
3 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/webui/web_ui_mojo_browsertest.cc
|
View
|
1
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/content_browser_test.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/content_browser_test_utils.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/content_browser_test_utils.cc
|
View
|
1
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/dom_serializer_browsertest.cc
|
View
|
1
|
3 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/test/content_browser_test_test.cc
|
View
|
1
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/ppapi/ppapi_test.cc
|
View
|
1
2
3
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/test/webui_resource_browsertest.cc
|
View
|
1
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/cert/test_root_certs.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/test/embedded_test_server/embedded_test_server.cc
|
View
|
1
|
4 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/test/spawned_test_server/local_test_server.cc
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/test/test_data_directory.cc
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 15 (9 generated)
|