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

Issue 2517173002: XMLHttpRequest.abort(): follow spec wrt readyState transitions. (Closed)

Created:
4 years ago by sof
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

XMLHttpRequest.abort(): follow spec wrt readyState transitions. readyState is now only set to UNSENT if abort() is called on an object with readyState in a DONE state. R=tyoshino,yhirano BUG=667294 Committed: https://crrev.com/a33e6a628fd8ffb610d7ccb8ff8ad06ac04be12e Cr-Commit-Position: refs/heads/master@{#433840}

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix pass test predicate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html View 1 1 chunk +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 5 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
sof
please take a look. can't have enough of abort(), it seems.
4 years ago (2016-11-21 16:32:25 UTC) #4
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html File third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html (right): https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html#newcode42 third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html:42: if ((num != 0 && this.readyState == num) ...
4 years ago (2016-11-22 08:46:55 UTC) #7
sof
https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html File third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html (right): https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html#newcode42 third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html:42: if ((num != 0 && this.readyState == num) || ...
4 years ago (2016-11-22 08:58:34 UTC) #8
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html File third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html (right): https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html#newcode42 third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html:42: if ((num != 0 && this.readyState == num) || ...
4 years ago (2016-11-22 09:29:53 UTC) #9
sof
https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html File third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html (right): https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html#newcode42 third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html:42: if ((num != 0 && this.readyState == num) || ...
4 years ago (2016-11-22 10:14:14 UTC) #12
yhirano
lgtm
4 years ago (2016-11-22 10:49:09 UTC) #13
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html File third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html (right): https://codereview.chromium.org/2517173002/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html#newcode42 third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html:42: if ((num != 0 && this.readyState == num) ...
4 years ago (2016-11-22 11:18:32 UTC) #14
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/2517173002/20001
4 years ago (2016-11-22 12:13:54 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-22 12:17:47 UTC) #22
commit-bot: I haz the power
4 years ago (2016-11-22 12:20:01 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a33e6a628fd8ffb610d7ccb8ff8ad06ac04be12e
Cr-Commit-Position: refs/heads/master@{#433840}

Powered by Google App Engine
This is Rietveld 408576698