diff --git a/src/core/native/browser_adapter.js b/src/core/native/browser_adapter.js index 6f4c73bfe..115821ae1 100644 --- a/src/core/native/browser_adapter.js +++ b/src/core/native/browser_adapter.js @@ -43,12 +43,13 @@ export class BrowserAdapter { case SystemStatusCode.networkFailure: case SystemStatusCode.timeoutFailure: case SystemStatusCode.contentTypeMismatch: - return this.reload({ + this.reload({ reason: "request_failed", context: { statusCode } }) + return visit.fail() default: return visit.loadResponse() } diff --git a/src/tests/fixtures/rendering.html b/src/tests/fixtures/rendering.html index f03e725a8..788c2a959 100644 --- a/src/tests/fixtures/rendering.html +++ b/src/tests/fixtures/rendering.html @@ -47,6 +47,7 @@