Test: http://w3c-test.org/url/urlsearchparams-constructor.html, landed at https://github.com/w3c/web-platform-tests/pull/4523. Standard: https://github.com/whatwg/url/issues/27, landed at https://github.com/whatwg/url/pull/175.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4c9507d55e235b96d792dd0244f0ef41e470a5f1 commit 4c9507d55e235b96d792dd0244f0ef41e470a5f1 Author: sigbjornf <sigbjornf@opera.com> Date: Wed Mar 01 11:05:50 2017 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} [modify] https://crrev.com/4c9507d55e235b96d792dd0244f0ef41e470a5f1/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html [modify] https://crrev.com/4c9507d55e235b96d792dd0244f0ef41e470a5f1/third_party/WebKit/Source/bindings/core/v8/BUILD.gn [modify] https://crrev.com/4c9507d55e235b96d792dd0244f0ef41e470a5f1/third_party/WebKit/Source/core/dom/URLSearchParams.cpp [modify] https://crrev.com/4c9507d55e235b96d792dd0244f0ef41e470a5f1/third_party/WebKit/Source/core/dom/URLSearchParams.h [modify] https://crrev.com/4c9507d55e235b96d792dd0244f0ef41e470a5f1/third_party/WebKit/Source/core/dom/URLSearchParams.idl [modify] https://crrev.com/4c9507d55e235b96d792dd0244f0ef41e470a5f1/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
Issue 702074 has been merged into this issue.
Taking this one as part of the work on bug 697378 .
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8e6727773d5da351bc6eb887dc491cc599c9e6d7 commit 8e6727773d5da351bc6eb887dc491cc599c9e6d7 Author: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Date: Tue Jun 27 10:12:39 2017 url: Update URLSearchParams' constructor arguments. Adapt to https://github.com/whatwg/url/pull/175, which dropped URLSearchParams itself from the union accepted by the constructor. The constructor now takes an optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) instead. Existing uses of `new URLSearchParams(<existing URLSearchParam>)` continue to work, as per WebIDL these objects are converted to sequences because URLSearchParams is iterable. Intent to ship/implement thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/AGyufsf5XU4/CBeVLmT7BgAJ Bug: 680531 , 697378 Change-Id: Ie82d1151acc4334628be0cc258bc20e5a0dc1d15 Reviewed-on: https://chromium-review.googlesource.com/544919 Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#482588} [modify] https://crrev.com/8e6727773d5da351bc6eb887dc491cc599c9e6d7/third_party/WebKit/LayoutTests/external/wpt/url/urlsearchparams-constructor-expected.txt [modify] https://crrev.com/8e6727773d5da351bc6eb887dc491cc599c9e6d7/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams-constructor.html [modify] https://crrev.com/8e6727773d5da351bc6eb887dc491cc599c9e6d7/third_party/WebKit/Source/bindings/core/v8/BUILD.gn [modify] https://crrev.com/8e6727773d5da351bc6eb887dc491cc599c9e6d7/third_party/WebKit/Source/core/dom/URLSearchParams.cpp [modify] https://crrev.com/8e6727773d5da351bc6eb887dc491cc599c9e6d7/third_party/WebKit/Source/core/dom/URLSearchParams.h [modify] https://crrev.com/8e6727773d5da351bc6eb887dc491cc599c9e6d7/third_party/WebKit/Source/core/dom/URLSearchParams.idl
Comment 1 by mkwst@chromium.org
, Jan 13 2017Components: Blink>DOM Blink>Network
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)