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

Issue 1150413003: [XHR] Ignore didReceiveData when having a DataConsumerHandle. (Closed)

Created:
5 years, 7 months ago by yhirano
Modified:
5 years, 6 months ago
CC:
blink-reviews, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[XHR] Ignore didReceiveData when having a DataConsumerHandle. In [1], we will start dispatching the incoming data using WebURLLoaderClient::didReceiveData even when we use WebDataConsumerHandle in order to make Devtools work. As a result, the data will be delivered twice. This CL makes DocumentThreadableLoader ignore such data. 1: https://codereview.chromium.org/1150033004/ BUG=480746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196048

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M Source/core/loader/DocumentThreadableLoader.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
yhirano
5 years, 7 months ago (2015-05-26 03:45:42 UTC) #2
yhirano
On 2015/05/26 03:45:42, yhirano wrote: Sorry I updated the code after requesting review. PS1 modified ...
5 years, 7 months ago (2015-05-26 06:01:18 UTC) #3
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp File Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp#newcode484 Source/core/loader/DocumentThreadableLoader.cpp:484: return; write the reason why this should be here, ...
5 years, 7 months ago (2015-05-26 08:12:02 UTC) #4
yhirano
https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp File Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp#newcode484 Source/core/loader/DocumentThreadableLoader.cpp:484: return; On 2015/05/26 08:12:01, tyoshino wrote: > write the ...
5 years, 7 months ago (2015-05-26 08:41:03 UTC) #5
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp File Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp#newcode484 Source/core/loader/DocumentThreadableLoader.cpp:484: return; On 2015/05/26 08:41:03, yhirano wrote: > On 2015/05/26 ...
5 years, 6 months ago (2015-05-28 05:29:56 UTC) #6
yhirano
https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp File Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/1150413003/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp#newcode484 Source/core/loader/DocumentThreadableLoader.cpp:484: return; On 2015/05/28 05:29:55, tyoshino wrote: > On 2015/05/26 ...
5 years, 6 months ago (2015-05-28 05:44:38 UTC) #7
tyoshino (SeeGerritForStatus)
lgtm
5 years, 6 months ago (2015-05-28 05:56:04 UTC) #8
yhirano
+kouhei for OWNER review.
5 years, 6 months ago (2015-05-28 05:57:22 UTC) #10
kouhei (in TOK)
lgtm
5 years, 6 months ago (2015-05-28 06:59:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150413003/40001
5 years, 6 months ago (2015-05-28 07:01:23 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-05-28 09:40:51 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196048

Powered by Google App Engine
This is Rietveld 408576698