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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1920873002: Enable error pages for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TEST. Created 4 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/fast/dom/null-document-location-assign-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 8994b8d093f887cd8d38540fc01250776adc17f6..029ec0bc87c715793f67dc6ff0b6c108f275a68b 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -5769,11 +5769,6 @@ bool RenderFrameImpl::ShouldDisplayErrorPageForFailedLoad(
return false;
}
- if (RenderThreadImpl::current() &&
- RenderThreadImpl::current()->layout_test_mode()) {
- return false;
- }
-
return true;
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/null-document-location-assign-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698