Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: ios/web/web_state/ui/crw_web_controller_unittest.mm

Issue 2666953003: [ios] Automatically fail any WebTest whose render process crashes. (Closed)
Patch Set: Fix comment. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/global_web_state_event_tracker.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller_unittest.mm
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm
index a4f2d6d72b97e02d58a738f2b9f4678216b1db1a..2189963af91336b9e2aa549394df06ecc601556f 100644
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm
@@ -1013,6 +1013,9 @@ class CRWWebControllerWebProcessTest : public web::WebTestWithWebController {
initWithMockWebView:webView_
scrollView:[webView_ scrollView]]);
[web_controller() injectWebViewContentView:webViewContentView];
+
+ // This test intentionally crashes the render process.
+ SetIgnoreRenderProcessCrashesDuringTesting(true);
}
base::scoped_nsobject<WKWebView> webView_;
};
« no previous file with comments | « ios/web/web_state/global_web_state_event_tracker.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698