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

Issue 2725593003: Construct URLSearchParams from sequence initializer. (Closed)

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

Description

Construct URLSearchParams from sequence initializer. Follow up recent spec addition[1,2] and support sequence<sequence<USVString>> initializers for URLSearchParams. 1 - https://github.com/whatwg/url/issues/27 2 - https://github.com/whatwg/url/pull/175 R=tyoshino,haraken BUG=680531 Review-Url: https://codereview.chromium.org/2725593003 Cr-Commit-Position: refs/heads/master@{#453903} Committed: https://chromium.googlesource.com/chromium/src/+/4c9507d55e235b96d792dd0244f0ef41e470a5f1

Patch Set 1 #

Total comments: 4

Patch Set 2 : allow appending name-value pairs without update #

Total comments: 2

Patch Set 3 : style update #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -17 lines) Patch
M third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html View 1 1 chunk +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/URLSearchParams.h View 1 3 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/URLSearchParams.cpp View 1 2 4 chunks +36 lines, -3 lines 1 comment Download
M third_party/WebKit/Source/core/dom/URLSearchParams.idl View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (17 generated)
sof
please take a look. (importing wpt/url is something we should get around to.. )
3 years, 9 months ago (2017-02-28 20:29:15 UTC) #4
tyoshino (SeeGerritForStatus)
Can you include - https://github.com/whatwg/url/issues/27 - https://github.com/whatwg/url/pull/175 in the CL description? https://codereview.chromium.org/2725593003/diff/1/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html File third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html (right): ...
3 years, 9 months ago (2017-03-01 08:07:26 UTC) #7
sof
thanks for the quick review. https://codereview.chromium.org/2725593003/diff/1/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html File third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html (right): https://codereview.chromium.org/2725593003/diff/1/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html#newcode173 third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html:173: assert_true(params !== null, '1=2&a=b'); ...
3 years, 9 months ago (2017-03-01 08:40:59 UTC) #9
tyoshino (SeeGerritForStatus)
lgtm! https://codereview.chromium.org/2725593003/diff/20001/third_party/WebKit/Source/core/dom/URLSearchParams.cpp File third_party/WebKit/Source/core/dom/URLSearchParams.cpp (right): https://codereview.chromium.org/2725593003/diff/20001/third_party/WebKit/Source/core/dom/URLSearchParams.cpp#newcode79 third_party/WebKit/Source/core/dom/URLSearchParams.cpp:79: instance->runUpdateSteps(); optional: we can also early return before ...
3 years, 9 months ago (2017-03-01 08:57:06 UTC) #12
haraken
modules owner LGTM
3 years, 9 months ago (2017-03-01 08:59:43 UTC) #13
sof
https://codereview.chromium.org/2725593003/diff/20001/third_party/WebKit/Source/core/dom/URLSearchParams.cpp File third_party/WebKit/Source/core/dom/URLSearchParams.cpp (right): https://codereview.chromium.org/2725593003/diff/20001/third_party/WebKit/Source/core/dom/URLSearchParams.cpp#newcode79 third_party/WebKit/Source/core/dom/URLSearchParams.cpp:79: instance->runUpdateSteps(); On 2017/03/01 08:57:06, tyoshino wrote: > optional: we ...
3 years, 9 months ago (2017-03-01 09:06:09 UTC) #16
tyoshino (SeeGerritForStatus)
lgtm again: ps3 let's https://codereview.chromium.org/2725593003/diff/40001/third_party/WebKit/Source/core/dom/URLSearchParams.cpp File third_party/WebKit/Source/core/dom/URLSearchParams.cpp (right): https://codereview.chromium.org/2725593003/diff/40001/third_party/WebKit/Source/core/dom/URLSearchParams.cpp#newcode52 third_party/WebKit/Source/core/dom/URLSearchParams.cpp:52: // consider removing. Filed 697378 ...
3 years, 9 months ago (2017-03-01 09:37:39 UTC) #17
tyoshino (SeeGerritForStatus)
On 2017/03/01 09:37:39, tyoshino wrote: > let's Please never mind this!
3 years, 9 months ago (2017-03-01 09:38:05 UTC) #18
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/2725593003/40001
3 years, 9 months ago (2017-03-01 11:01:27 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 11:06:31 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4c9507d55e235b96d792dd0244f0...

Powered by Google App Engine
This is Rietveld 408576698