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

Issue 2723583005: Support XMLHttpRequest.send(URLSearchParams) (Closed)

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

Description

Support XMLHttpRequest.send(URLSearchParams) Update send()'s overloaded set to also include URLSearchParams, mirroring a recent BodyInit spec addition, https://fetch.spec.whatwg.org/#bodyinit R=yhirano,tyoshino BUG=694449

Patch Set 1 #

Total comments: 5

Patch Set 2 : factor out Content-Type + charset updating #

Patch Set 3 : rebased upto 453904 #

Patch Set 4 : rebased upto r454567 #

Messages

Total messages: 35 (22 generated)
sof
please take a look. (importing wpt's XHR tests would be a fine thing to do, ...
3 years, 9 months ago (2017-02-28 21:03:07 UTC) #5
yhirano
https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp File third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp (right): https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp#newcode886 third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp:886: replaceCharsetInMediaType(contentType, "UTF-8"); Can you tell me where this is ...
3 years, 9 months ago (2017-03-01 02:21:00 UTC) #8
sof
https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp File third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp (right): https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp#newcode886 third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp:886: replaceCharsetInMediaType(contentType, "UTF-8"); On 2017/03/01 02:21:00, yhirano (slow) wrote: > ...
3 years, 9 months ago (2017-03-01 07:07:52 UTC) #9
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/echo-content.php File third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/echo-content.php (right): https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/echo-content.php#newcode4 third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/echo-content.php:4: ?> Can http/tests/xmlhttprequest/resources/post-echo.php serve this needs? https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp File third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp ...
3 years, 9 months ago (2017-03-01 09:04:58 UTC) #10
yhirano
lgtm
3 years, 9 months ago (2017-03-01 09:13:39 UTC) #11
sof
https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp File third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp (right): https://codereview.chromium.org/2723583005/diff/1/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp#newcode886 third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp:886: replaceCharsetInMediaType(contentType, "UTF-8"); On 2017/03/01 09:04:58, tyoshino wrote: > On ...
3 years, 9 months ago (2017-03-01 09:49:14 UTC) #14
sof
ps#3 ready?
3 years, 9 months ago (2017-03-02 07:20:43 UTC) #22
sof
landing, will handle anything remaining in a followup.
3 years, 9 months ago (2017-03-03 06:55:43 UTC) #23
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/2723583005/40001
3 years, 9 months ago (2017-03-03 06:55:54 UTC) #26
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-03 08:22:35 UTC) #28
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/2723583005/60001
3 years, 9 months ago (2017-03-03 12:02:05 UTC) #31
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 9 months ago (2017-03-03 13:35:59 UTC) #34
sof
3 years, 9 months ago (2017-03-03 15:23:42 UTC) #35
On 2017/03/03 13:35:59, commit-bot: I haz the power wrote:
> Prior attempt to commit was detected, but we were not able to check whether
the
> issue was successfully committed. Please check Git history manually and
re-check
> CQ or close this issue as needed.

Not run into this one before (prior attempt failed due to patch failure). In any
case, this CL landed at
https://chromium.googlesource.com/chromium/src/+/c738672e528bf6262182e9aebf7f...
(r454571)

Powered by Google App Engine
This is Rietveld 408576698