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

Issue 2755483006: Stop having separate timeout timers for the preflight and the actual request (Closed)

Created:
3 years, 9 months ago by yhirano
Modified:
3 years, 9 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop having separate timeout timers for the preflight and the actual request DocumentThreadableLoader stops the timeout timer and restarts it with fresh timeout when getting a preflight response and sending the actual request. This fixes it so that the timeout is applied to the combined request, not to each of the preflight and the actual request. BUG=699985 R=tyoshino@chromium.org Review-Url: https://codereview.chromium.org/2755483006 Cr-Commit-Position: refs/heads/master@{#459728} Committed: https://chromium.googlesource.com/chromium/src/+/a299a05414fc647524bf1da64fa2b058e5915d69

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/cross-origin-preflight-timeout.html View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/access-control-allow-with-delay.php View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp View 1 2 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
yhirano
PTAL The layout test is similar to (part of) https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/timeout-multiple-fetches.html. I'm not sure if we ...
3 years, 9 months ago (2017-03-15 02:27:13 UTC) #5
tyoshino (SeeGerritForStatus)
IIRC, we shouldn't add a new Perl file. Could you please use some existing php ...
3 years, 9 months ago (2017-03-15 15:42:46 UTC) #8
yhirano
On 2017/03/15 15:42:46, tyoshino wrote: > IIRC, we shouldn't add a new Perl file. Could ...
3 years, 9 months ago (2017-03-21 07:30:55 UTC) #11
yhirano
On 2017/03/21 07:30:55, yhirano wrote: > On 2017/03/15 15:42:46, tyoshino wrote: > > IIRC, we ...
3 years, 9 months ago (2017-03-24 03:46:37 UTC) #14
tyoshino (SeeGerritForStatus)
lgtm
3 years, 9 months ago (2017-03-27 04:58:14 UTC) #15
yhirano
3 years, 9 months ago (2017-03-27 05:00:42 UTC) #16
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/2755483006/40001
3 years, 9 months ago (2017-03-27 05:01:01 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/391642)
3 years, 9 months ago (2017-03-27 06:06:01 UTC) #20
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/2755483006/40001
3 years, 9 months ago (2017-03-27 07:02:37 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 09:13:36 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a299a05414fc647524bf1da64fa2...

Powered by Google App Engine
This is Rietveld 408576698