HTTP error pages for empty response don't appear when DevTools is open. |
|
Issue descriptionChrome 60.0.3088.3 OSX 10.12.4 What steps will reproduce the problem? (1) Visit https://httpbin.org/status/404 (or, say, 403) (2) Open DevTools and refresh. What is the expected result? The error page remains. What happens instead? The content viewport turns blank. mmenke@, based on Issue 632778 it seems you implemented this; could you triage?
,
May 4 2017
Actually, as I think about this, I'm pretty sure this is deliberate behavior. If someone is debugging their own webpage, we display the returned page, instead of a generic error page. If their server returns an HTTP error page with an empty body, that's a valid HTTP response, so we display it. Loading the error page may even destroy devtools info related to the failed page load, with default settings.
,
May 4 2017
And it's deliberate - see https://cs.chromium.org/chromium/src/content/renderer/render_frame_impl.cc?l=3995 I'll defer to the devtools team if this is what we want, but I assume so. |
|
►
Sign in to add a comment |
|
Comment 1 by mmenke@chromium.org
, May 4 2017Components: -Internals>Network>HTTP
Owner: ----
Status: Untriaged (was: Assigned)