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

Issue 1455513002: [XHR] Decrease readyStateChange event dispatching during loading. (Closed)

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

Description

[XHR] Decrease readyStateChange event dispatching during loading. XMLHttpRequest dispatches readyStateChange while loading despite readyState does not change, in order to provide progress information. This CL decreases the number of events during loading to increase performance. This change removes a wrong comment from XMLHttpRequest::dispatchReadyStateChangeEvent (In fact I added the comment at [1] but I don't remember the intention). 1: https://chromium.googlesource.com/chromium/src/+/9222a901a9ece4c0724622b5caea40bf2d879ce0 BUG=336066 Committed: https://crrev.com/edd3817ef4a1c3a41610855bfc2703b55359d444 Cr-Commit-Position: refs/heads/master@{#361995}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 1 2 3 4 3 chunks +5 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.h View 3 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp View 1 5 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
yhirano
5 years ago (2015-11-25 07:31:25 UTC) #5
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1455513002/diff/60001/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp File third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp (right): https://codereview.chromium.org/1455513002/diff/60001/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp#newcode124 third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp:124: { are we sure that we can omit "if ...
5 years ago (2015-11-26 07:04:14 UTC) #6
yhirano
https://codereview.chromium.org/1455513002/diff/60001/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp File third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp (right): https://codereview.chromium.org/1455513002/diff/60001/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp#newcode124 third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp:124: { On 2015/11/26 07:04:13, tyoshino wrote: > are we ...
5 years ago (2015-11-26 11:36:32 UTC) #9
tyoshino (SeeGerritForStatus)
lgtm
5 years ago (2015-11-27 10:48:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455513002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455513002/80001
5 years ago (2015-11-27 10:53:47 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-27 13:34:20 UTC) #14
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/edd3817ef4a1c3a41610855bfc2703b55359d444 Cr-Commit-Position: refs/heads/master@{#361995}
5 years ago (2015-11-27 13:35:22 UTC) #16
sof
http/tests/xmlhttprequest/interactive-state.html seems to have become flaky following this -- http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.8/builds/43364 http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=http%2Ftests%2Fxmlhttprequest%2Finteractive-state.html
5 years ago (2015-11-30 10:27:52 UTC) #18
tyoshino (SeeGerritForStatus)
On 2015/11/30 10:27:52, sof wrote: > http/tests/xmlhttprequest/interactive-state.html seems to have become flaky > following this ...
5 years ago (2015-11-30 11:32:29 UTC) #19
tyoshino (SeeGerritForStatus)
On 2015/11/30 11:32:29, tyoshino wrote: > On 2015/11/30 10:27:52, sof wrote: > > http/tests/xmlhttprequest/interactive-state.html seems ...
5 years ago (2015-11-30 12:14:22 UTC) #20
tyoshino (SeeGerritForStatus)
5 years ago (2015-12-01 05:38:35 UTC) #21
Message was sent while issue was closed.
On 2015/11/30 12:14:22, tyoshino wrote:
> On 2015/11/30 11:32:29, tyoshino wrote:
> > On 2015/11/30 10:27:52, sof wrote:
> > > http/tests/xmlhttprequest/interactive-state.html seems to have become
flaky
> > > following this --
> > > 
> > > 
> > >
> >
>
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.8/builds/...
> > > 
> > >
> >
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=htt...
> > 
> > I've observed this in submitting another CL on XHR. I'm investigating it.
> 
> Done
> https://codereview.chromium.org/1484743002/

Landed. Confirmed that they are green again.

Powered by Google App Engine
This is Rietveld 408576698