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

Issue 2676443004: Do not treat substitute-data resources as having successful HTTP status codes. (Closed)

Created:
3 years, 10 months ago by Mike West
Modified:
3 years, 9 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not treat substitute-data resources as having successful HTTP status codes. Some embedders of Blink (Chrome in particular) rely on error pages having an HTTP status code of `0`. [1] changed this behavior to synthesize a 200 status code. This patch changes that behavior back to the original expectation, matching the expectation that non-network requests don't have network status information. [1]: https://chromium.googlesource.com/chromium/blink/+/63b8349e922a3691bb77f74d7b2f143a5f023626 BUG=656845 Review-Url: https://codereview.chromium.org/2676443004 Cr-Commit-Position: refs/heads/master@{#455810} Committed: https://chromium.googlesource.com/chromium/src/+/1709b0599a7329585a3d781b21b1cbbb15379d7c

Patch Set 1 #

Patch Set 2 : Tests. #

Total comments: 1

Patch Set 3 : rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 39 (30 generated)
Mike West
Nate, mind taking a look at this?
3 years, 10 months ago (2017-02-03 15:55:08 UTC) #7
Nate Chapin
LGTM, though unclear to me if those android test failures are related. https://codereview.chromium.org/2676443004/diff/2/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp ...
3 years, 10 months ago (2017-02-03 18:00:22 UTC) #12
Mike West
On 2017/02/03 at 18:00:22, japhet wrote: > LGTM, though unclear to me if those android ...
3 years, 10 months ago (2017-02-03 20:33:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676443004/2
3 years, 10 months ago (2017-02-03 20:34:26 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/225779)
3 years, 10 months ago (2017-02-03 22:09:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676443004/70001
3 years, 9 months ago (2017-03-09 15:26:30 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/405756)
3 years, 9 months ago (2017-03-09 16:34:13 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676443004/90001
3 years, 9 months ago (2017-03-09 17:06:04 UTC) #36
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 18:47:36 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/1709b0599a7329585a3d781b21b1...

Powered by Google App Engine
This is Rietveld 408576698