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

Issue 76133002: XHR: reset error flag on aborting request that restarts. (Closed)

Created:
7 years, 1 month ago by sof
Modified:
7 years, 1 month ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

XHR: reset error flag on aborting request that restarts. Close a small window in internal abort logic that takes care of repeated uses of the XHR object upon cancellation. The possibility existed that such a repeated use might reset the error flag, so that upon return to the outer request (the one that is aborting), it was left as 'false'. Spot this and (re) set the error flag to 'true'. Not a common use of XHR; added test coverage. R= BUG=315488 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162346

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -5 lines) Patch
M LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html View 2 chunks +17 lines, -3 lines 0 comments Download
A LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-abort.html View 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-abort-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt View 1 chunk +6 lines, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sof
At your own leisure, please take a look. The final piece from crrev.com/61793010, taking care ...
7 years, 1 month ago (2013-11-19 09:14:10 UTC) #1
tyoshino (SeeGerritForStatus)
lgtm. thanks. the reentrant test result is much more readable
7 years, 1 month ago (2013-11-19 17:07:41 UTC) #2
sof
On 2013/11/19 17:07:41, tyoshino wrote: > lgtm. > > thanks. the reentrant test result is ...
7 years, 1 month ago (2013-11-19 19:01:00 UTC) #3
eseidel
lgtm
7 years, 1 month ago (2013-11-19 19:05:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/76133002/1
7 years, 1 month ago (2013-11-19 19:06:20 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=17977
7 years, 1 month ago (2013-11-19 21:25:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/76133002/1
7 years, 1 month ago (2013-11-20 07:51:26 UTC) #7
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 08:38:25 UTC) #8
Message was sent while issue was closed.
Change committed as 162346

Powered by Google App Engine
This is Rietveld 408576698