Home
last modified time | relevance | path

Searched refs:searchParams (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/test/fixtures/wpt/url/
Durl-searchparams.any.js9 var searchParams = url.searchParams
10 assert_true(url.searchParams === searchParams, 'Object identity should hold.')
16 var searchParams = url.searchParams
17 assert_equals(searchParams.toString(), 'a=b')
19 searchParams.set('a', 'b')
20 assert_equals(url.searchParams.toString(), 'a=b')
23 assert_equals(url.searchParams.toString(), '')
25 assert_equals(searchParams.toString(), '')
32 assert_throws(TypeError(), function() { url.searchParams = new URLSearchParams(urlString) })
38 var searchParams = url.searchParams
[all …]
Durlsearchparams-foreach.any.js15 let b = a.searchParams;
28 let b = a.searchParams;
36 const searchParams = url.searchParams;
38 for (param of searchParams) {
40 searchParams.delete('param1');
51 const searchParams = url.searchParams;
53 for (param of searchParams) {
55 searchParams.delete('param0');
67 const searchParams = url.searchParams;
69 for (param of searchParams) {
[all …]
Durlsearchparams-delete.any.js34 url.searchParams.delete('param1');
35 url.searchParams.delete('param2');
42 url.searchParams.delete('param1');
Durlsearchparams-sort.any.js47 url.searchParams.sort()
59 url.searchParams.sort()
Durlsearchparams-stringifier.any.js114 const params = url.searchParams;
/third_party/node/test/parallel/
Dtest-whatwg-url-constructor.js68 assert_equals(url.searchParams.toString(), expected.searchParams, "searchParams")
79 var searchParams = url.searchParams
80 assert_true(url.searchParams === searchParams, 'Object identity should hold.')
86 var searchParams = url.searchParams
87 assert_equals(searchParams.toString(), 'a=b')
89 searchParams.set('a', 'b')
90 assert_equals(url.searchParams.toString(), 'a=b')
93 assert_equals(url.searchParams.toString(), '')
95 assert_equals(searchParams.toString(), '')
102 assert_throws(TypeError(), function() { url.searchParams = new URLSearchParams(urlString) })
[all …]
Dtest-whatwg-url-custom-properties.js10 const oldParams = url.searchParams; // For test of [SameObject]
40 assert.strictEqual(url.searchParams, oldParams); // [SameObject]
123 () => url.searchParams = '?k=88',
124 /^TypeError: Cannot set property searchParams of \[object URL\] which has only a getter$/
126 assert.strictEqual(url.searchParams, oldParams);
129 assert.strictEqual((delete url.searchParams), true);
130 assert.strictEqual(url.searchParams, oldParams);
Dtest-whatwg-url-custom-searchparams.js19 const sp = m.searchParams;
96 assert.strictEqual(String(m.searchParams), expected);
97 assert.deepStrictEqual(Array.from(m.searchParams), parsed);
106 assert.strictEqual(String(m.searchParams), expected);
107 assert.deepStrictEqual(Array.from(m.searchParams), parsed);
Dtest-whatwg-url-custom-searchparams-delete.js39 for (const param of url.searchParams.keys()) {
40 url.searchParams.delete(param);
42 assert.strictEqual(url.searchParams.toString(), '');
Dtest-whatwg-url-custom-searchparams-stringifier.js24 myUrl.searchParams.sort();
Dtest-whatwg-url-custom-tostringtag.js11 const sp = url.searchParams;
Dtest-whatwg-url-override-hostname.js19 assert.strictEqual(url.searchParams.toString(), '');
Dtest-whatwg-url-custom-searchparams-sort.js43 url.searchParams.sort();
Dtest-http2-response-splitting.js38 obj.Location = `/foo?lang=${url.searchParams.get('lang')}`;
/third_party/node/lib/internal/
Durl.js108 const searchParams = Symbol('query'); constant
151 this[searchParams] = [];
157 const childParams = init[searchParams];
158 this[searchParams] = childParams.slice();
179 this[searchParams] = [];
184 ArrayPrototypePush(this[searchParams], pair[0], pair[1]);
189 this[searchParams] = [];
197 this[searchParams].push(typedKey, typedValue);
213 if (!this || !this[searchParams] || this[searchParams][searchParams]) {
227 const list = this[searchParams];
[all …]
/third_party/node/benchmark/url/
Dlegacy-vs-whatwg-url-searchparams-parse.js4 const searchParams = common.searchParams; constant
7 searchParam: Object.keys(searchParams),
31 const param = searchParams[searchParam];
Dlegacy-vs-whatwg-url-searchparams-serialize.js4 const searchParams = common.searchParams; constant
7 searchParam: Object.keys(searchParams),
33 const param = searchParams[searchParam];
Durl-searchparams-sort.js35 const searchParams = require('internal/url').searchParamsSymbol;
42 params[searchParams] = array.slice();
/third_party/node/benchmark/querystring/
Dquerystring-parse.js4 const inputs = common.searchParams;
/third_party/node/benchmark/
Dcommon.js314 const searchParams = { variable
404 searchParams, property
/third_party/node/test/fixtures/wpt/interfaces/
Durl.idl21 [SameObject] readonly attribute URLSearchParams searchParams;
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_url.js142 this.searchParams = new URLSearchParamsClass();
/third_party/node/doc/api/
Durl.md503 #### `url.searchParams`
513 Use care when using `.searchParams` to modify the `URL` because,
524 // Modify the URL via searchParams...
525 myUrl.searchParams.sort();
605 console.log(myURL.searchParams.get('abc'));
608 myURL.searchParams.append('abc', 'xyz');
612 myURL.searchParams.delete('abc');
613 myURL.searchParams.set('a', 'b');
617 const newSearchParams = new URLSearchParams(myURL.searchParams);
776 myURL.searchParams.forEach((value, name, searchParams) => {
[all …]
Dhttp.md2188 searchParams: URLSearchParams { 'name' => 'ryan' },
/third_party/typescript/lib/
Dlib.webworker.d.ts3271 readonly searchParams: URLSearchParams; property

12