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

Issue 206223005: Forbid setting responseType on all sync XHRs. (Closed)

Created:
6 years, 9 months ago by davidben
Modified:
6 years, 9 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Forbid setting responseType on all sync XHRs. Rather than only doing it for http(s) URLs. This matches the XHR2 spec and Firefox. This also avoids having to support the downloadToFile + synchronous load combination in the resource loader stack. Update tests according and add an assertion. BUG=354188 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169702

Patch Set 1 #

Patch Set 2 : Fix tests that set responseType on sync XHRs. #

Total comments: 2

Patch Set 3 : waitUntilDone #

Messages

Total messages: 21 (0 generated)
davidben
6 years, 9 months ago (2014-03-20 18:19:07 UTC) #1
Nate Chapin
LGTM
6 years, 9 months ago (2014-03-20 18:28:52 UTC) #2
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 9 months ago (2014-03-20 18:50:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/206223005/1
6 years, 9 months ago (2014-03-20 18:50:23 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 18:59:18 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-20 18:59:18 UTC) #6
davidben
Apparently we had some tests that did this. Updated accordingly and sent off some try ...
6 years, 9 months ago (2014-03-20 19:28:02 UTC) #7
Nate Chapin
LGTM after the test is fixed. https://codereview.chromium.org/206223005/diff/10001/LayoutTests/fast/events/xhr-onclick-crash.html File LayoutTests/fast/events/xhr-onclick-crash.html (right): https://codereview.chromium.org/206223005/diff/10001/LayoutTests/fast/events/xhr-onclick-crash.html#newcode6 LayoutTests/fast/events/xhr-onclick-crash.html:6: window.jsTestIsAsync = true; ...
6 years, 9 months ago (2014-03-20 19:59:56 UTC) #8
davidben
https://codereview.chromium.org/206223005/diff/10001/LayoutTests/fast/events/xhr-onclick-crash.html File LayoutTests/fast/events/xhr-onclick-crash.html (right): https://codereview.chromium.org/206223005/diff/10001/LayoutTests/fast/events/xhr-onclick-crash.html#newcode6 LayoutTests/fast/events/xhr-onclick-crash.html:6: window.jsTestIsAsync = true; On 2014/03/20 19:59:56, Nate Chapin wrote: ...
6 years, 9 months ago (2014-03-20 20:05:00 UTC) #9
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 9 months ago (2014-03-20 20:05:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/206223005/30001
6 years, 9 months ago (2014-03-20 20:05:14 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 20:07:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-20 20:07:20 UTC) #13
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 9 months ago (2014-03-20 20:09:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/206223005/30001
6 years, 9 months ago (2014-03-20 20:09:24 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 21:13:34 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-20 21:13:35 UTC) #17
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 9 months ago (2014-03-20 21:38:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/206223005/30001
6 years, 9 months ago (2014-03-20 21:38:06 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/206223005/30001
6 years, 9 months ago (2014-03-20 21:57:24 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 22:42:10 UTC) #21
Message was sent while issue was closed.
Change committed as 169702

Powered by Google App Engine
This is Rietveld 408576698