File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ inline bool url_search_params::has(const std::string_view key) noexcept {
55
55
}
56
56
57
57
inline std::string url_search_params::to_string () {
58
+ // TODO: Add encoding support
59
+ // Add tests from
60
+ // https://github.com/web-platform-tests/wpt/blob/master/url/urlsearchparams-stringifier.any.js
58
61
std::string out{};
59
62
for (size_t i = 0 ; i < params.size (); i++) {
60
63
auto [key, value] = params[i];
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ namespace ada {
17
17
*/
18
18
struct url_search_params {
19
19
// TODO: Add missing constructors
20
+ // Add tests from
21
+ // https://github.com/web-platform-tests/wpt/blob/master/url/urlsearchparams-constructor.any.js
20
22
url_search_params () = default ;
21
23
url_search_params (const url_search_params &u) = default ;
22
24
url_search_params (url_search_params &&u) noexcept = default ;
You can’t perform that action at this time.
0 commit comments