/third_party/node/test/fixtures/wpt/url/ |
D | urlsearchparams-stringifier.any.js | 4 assert_equals(params + '', 'a=b+c'); 7 assert_equals(params + '', 'a+b=c'); 13 assert_equals(params + '', 'a='); 15 assert_equals(params + '', 'a=&a='); 17 assert_equals(params + '', 'a=&a=&=b'); 19 assert_equals(params + '', 'a=&a=&=b&='); 21 assert_equals(params + '', 'a=&a=&=b&=&='); 27 assert_equals(params + '', '=b'); 29 assert_equals(params + '', '=b&=b'); 35 assert_equals(params + '', '='); [all …]
|
D | urlsearchparams-constructor.any.js | 3 assert_equals(params + '', ''); 5 assert_equals(params + '', ''); 7 assert_equals(params + '', 'a=b'); 9 assert_equals(params + '', 'a=b'); 14 assert_equals(params.toString(), "") 19 assert_equals(params.toString(), "a=b") 24 …assert_equals(params.toString(), "INDEX_SIZE_ERR=1&DOMSTRING_SIZE_ERR=2&HIERARCHY_REQUEST_ERR=3&WR… 32 …assert_equals(params.__proto__, URLSearchParams.prototype, 'expected URLSearchParams.prototype as … 37 assert_equals(params + '', ""); 65 assert_equals(params.get('a'), 'b'); [all …]
|
D | url-searchparams.any.js | 17 assert_equals(searchParams.toString(), 'a=b') 20 assert_equals(url.searchParams.toString(), 'a=b') 21 assert_equals(url.search, '?a=b') 23 assert_equals(url.searchParams.toString(), '') 24 assert_equals(url.search, '') 25 assert_equals(searchParams.toString(), '') 39 assert_equals(url.search, '?a=b&c=d') 40 assert_equals(searchParams.toString(), 'a=b&c=d') 44 assert_equals(url.search, '?e=f&g=h') 45 assert_equals(searchParams.toString(), 'e=f&g=h') [all …]
|
D | urlsearchparams-append.any.js | 4 assert_equals(params + '', 'a=b'); 6 assert_equals(params + '', 'a=b&a=b'); 8 assert_equals(params + '', 'a=b&a=b&a=c'); 14 assert_equals(params + '', '='); 16 assert_equals(params + '', '=&='); 22 assert_equals(params + '', 'null=null'); 24 assert_equals(params + '', 'null=null&null=null'); 34 assert_equals(params.get('first'), '1', 'Search params object has name "first" with value "1"'); 35 … assert_equals(params.get('second'), '2', 'Search params object has name "second" with value "2"'); 36 assert_equals(params.get('third'), '', 'Search params object has name "third" with value ""'); [all …]
|
D | urlsearchparams-delete.any.js | 4 assert_equals(params + '', 'c=d'); 7 assert_equals(params + '', 'b=b&c=c'); 10 assert_equals(params + '', 'a=a&b=b&c=c'); 13 assert_equals(params + '', 'a=a&b=b'); 16 assert_equals(params + '', 'a=a&b=b'); 23 assert_equals(params.get('first'), '1', 'Search params object has name "first" with value "1"'); 36 assert_equals(url.href, 'http://example.com/', 'url.href does not have ?'); 37 assert_equals(url.search, '', 'url.search does not have ?'); 43 assert_equals(url.href, 'http://example.com/', 'url.href does not have ?'); 44 assert_equals(url.search, '', 'url.search does not have ?');
|
D | urlsearchparams-get.any.js | 3 assert_equals(params.get('a'), 'b'); 4 assert_equals(params.get('c'), 'd'); 5 assert_equals(params.get('e'), null); 7 assert_equals(params.get('a'), 'b'); 9 assert_equals(params.get(''), 'b'); 11 assert_equals(params.get('a'), ''); 18 …assert_equals(params.get('first'), 'second', 'Search params object has name "first" with value "se… 19 …assert_equals(params.get('third'), '', 'Search params object has name "third" with the empty value… 20 … assert_equals(params.get('fourth'), null, 'Search params object has no "fourth" name and value.');
|
D | toascii.window.js | 25 assert_equals(url.host, hostTest.output) 26 assert_equals(url.hostname, hostTest.output) 27 assert_equals(url.pathname, "/x") 28 assert_equals(url.href, "https://" + hostTest.output + "/x") 34 assert_equals(url.host, "") 35 assert_equals(url.hostname, "") 36 assert_equals(url.pathname, "") 37 assert_equals(url.href, "https://" + hostTest.input + "/x") 46 assert_equals(url[val], hostTest.output) 48 assert_equals(url[val], "x")
|
D | urlsearchparams-set.any.js | 4 assert_equals(params + '', 'a=B&c=d'); 7 assert_equals(params + '', 'a=B&c=d') 9 assert_equals(params + '', 'a=B&c=d&e=f') 15 assert_equals(params.get('a'), '1', 'Search params object has name "a" with value "1"'); 18 assert_equals(params.get('a'), '1', 'Search params object has name "a" with value "1"'); 21 assert_equals(params.get('a'), '4', 'Search params object has name "a" with value "4"');
|
/third_party/node/test/parallel/ |
D | test-whatwg-url-constructor.js | 9 const { test, assert_equals, assert_true, assert_throws } = 57 assert_equals(url.href, expected.href, "href") 58 assert_equals(url.protocol, expected.protocol, "protocol") 59 assert_equals(url.username, expected.username, "username") 60 assert_equals(url.password, expected.password, "password") 61 assert_equals(url.host, expected.host, "host") 62 assert_equals(url.hostname, expected.hostname, "hostname") 63 assert_equals(url.port, expected.port, "port") 64 assert_equals(url.pathname, expected.pathname, "pathname") 65 assert_equals(url.search, expected.search, "search") [all …]
|
D | test-whatwg-url-toascii.js | 9 const { test, assert_equals, assert_throws } = require('../common/wpt').harness; 56 assert_equals(url.host, hostTest.output) 57 assert_equals(url.hostname, hostTest.output) 58 assert_equals(url.pathname, "/x") 59 assert_equals(url.href, "https://" + hostTest.output + "/x") 65 assert_equals(url.host, "") 66 assert_equals(url.hostname, "") 67 assert_equals(url.pathname, "") 68 assert_equals(url.href, "https://" + hostTest.input + "/x") 77 assert_equals(url[val], hostTest.output) [all …]
|
/third_party/node/test/fixtures/wpt/url/resources/ |
D | a-element.js | 26 assert_equals(url.href, expected.input, "failure should set href to input") 30 assert_equals(url.href, expected.href, "href") 31 assert_equals(url.protocol, expected.protocol, "protocol") 32 assert_equals(url.username, expected.username, "username") 33 assert_equals(url.password, expected.password, "password") 34 assert_equals(url.host, expected.host, "host") 35 assert_equals(url.hostname, expected.hostname, "hostname") 36 assert_equals(url.port, expected.port, "port") 37 assert_equals(url.pathname, expected.pathname, "pathname") 38 assert_equals(url.search, expected.search, "search") [all …]
|
/third_party/node/test/fixtures/wpt/encoding/ |
D | encodeInto.any.js | 101 assert_equals(view.byteLength, destinationLength); 102 assert_equals(view.length, destinationLength); 105 assert_equals(result.read, testData.read); 106 assert_equals(result.written, testData.written.length); 109 assert_equals(fullView[i], control[i]); 111 assert_equals(fullView[i], testData.written[i - destinationOffset]); 140 assert_equals(read, 0); 141 assert_equals(written, 0); 144 assert_equals(read, 0); 145 assert_equals(written, 0); [all …]
|
D | api-basics.any.js | 4 assert_equals((new TextEncoder).encoding, 'utf-8', 'default encoding is utf-8'); 5 assert_equals((new TextDecoder).encoding, 'utf-8', 'default encoding is utf-8'); 16 assert_equals(new TextDecoder(encoding).decode(new Uint8Array(bytes)), string); 17 assert_equals(new TextDecoder(encoding).decode(new Uint8Array(bytes).buffer), string); 32 assert_equals(new TextDecoder(encoding).decode(new Uint8Array(bytes)), string); 33 assert_equals(new TextDecoder(encoding).decode(new Uint8Array(bytes).buffer), string);
|
D | textdecoder-labels.any.js | 12 assert_equals( 15 assert_equals( 19 assert_equals( 22 assert_equals( 25 assert_equals(
|
D | textdecoder-fatal-streaming.any.js | 15 assert_equals( 28 assert_equals(decoder.decode(odd, {stream: true}), ''); 29 assert_equals(decoder.decode(odd), '\u0000'); 41 assert_equals(decoder.decode(even, {stream: true}), '\u0000'); 42 assert_equals(decoder.decode(even), '\u0000');
|
/third_party/node/test/fixtures/wpt/FileAPI/url/ |
D | url-format.any.js | 20 assert_equals(typeof url, 'string'); 26 assert_equals(typeof url, 'string'); 32 assert_equals(new URL(url).origin, location.origin); 42 assert_equals(url_record.protocol, 'blob:'); 43 assert_equals(url_record.origin, location.origin); 44 assert_equals(url_record.host, '', 'host should be an empty string'); 45 assert_equals(url_record.port, '', 'port should be an empty string'); 50 assert_equals(nested_url.origin, location.origin); 51 assert_equals(nested_url.pathname.search(uuid_path_re), 0, 'Path must be a valid UUID'); 59 assert_equals(new URL(url).origin, location.origin);
|
/third_party/node/test/fixtures/wpt/encoding/streams/ |
D | realms.window.js | 144 assert_equals(obj.constructor, constructorRealm[classname], 161 assert_equals(readable.constructor, constructorRealm.ReadableStream, 163 assert_equals(writable.constructor, constructorRealm.WritableStream, 175 assert_equals(result.constructor, constructorRealm.Object, 177 assert_equals(result.value.constructor, constructorRealm.Uint8Array, 188 assert_equals(result.constructor, constructorRealm.Object, 190 assert_equals(result.value.constructor, constructorRealm.Uint8Array, 212 assert_equals(err.constructor, constructorRealm.TypeError, 222 assert_equals(err.constructor, constructorRealm.TypeError, 237 assert_equals(result.constructor, constructorRealm.Object, [all …]
|
/third_party/node/test/fixtures/wpt/FileAPI/ |
D | FileReaderSync.worker.js | 16 assert_equals(text, "test"); 21 assert_equals(text, ""); 26 assert_equals(data.indexOf("data:"), 0); 31 assert_equals(data.indexOf("data:"), 0); 36 assert_equals(data, "test"); 41 assert_equals(data, ""); 47 assert_equals(data.byteLength, "test".length); 53 assert_equals(data.byteLength, 0);
|
/third_party/node/test/fixtures/wpt/resources/ |
D | idlharness.js | 1016 assert_equals(value, undefined); 1020 assert_equals(typeof value, "boolean"); 1024 assert_equals(typeof value, "number"); 1025 assert_equals(value, Math.floor(value), "should be an integer"); 1030 assert_equals(typeof value, "number"); 1031 assert_equals(value, Math.floor(value), "should be an integer"); 1036 assert_equals(typeof value, "number"); 1037 assert_equals(value, Math.floor(value), "should be an integer"); 1042 assert_equals(typeof value, "number"); 1043 assert_equals(value, Math.floor(value), "should be an integer"); [all …]
|
D | check-layout-th.js | 24 assert_equals(actual, Number(expected), message); 94 assert_equals(actualDisplay, expectedDisplay, prefix + "display"); 102 assert_equals(actualPaddingTop, expectedPaddingTop, prefix + "padding-top"); 110 assert_equals(actualPaddingBottom, expectedPaddingBottom, prefix + "padding-bottom"); 118 assert_equals(actualPaddingLeft, expectedPaddingLeft, prefix + "padding-left"); 126 assert_equals(actualPaddingRight, expectedPaddingRight, prefix + "padding-right"); 134 assert_equals(actualMarginTop, expectedMarginTop, prefix + "margin-top"); 142 assert_equals(actualMarginBottom, expectedMarginBottom, prefix + "margin-bottom"); 150 assert_equals(actualMarginLeft, expectedMarginLeft, prefix + "margin-left"); 158 assert_equals(actualMarginRight, expectedMarginRight, prefix + "margin-right");
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
D | Blob-text.any.js | 8 assert_equals(text, "PASS"); 14 assert_equals(text, ""); 20 assert_equals(text, "PASS"); 28 assert_equals(text, non_unicode); 34 assert_equals(text, "PASS"); 42 assert_equals(text, non_unicode); 50 assert_equals(text, "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd" + 61 assert_equals(text, "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd" +
|
D | Blob-constructor.any.js | 7 assert_equals(Blob.length, 0, "Blob.length should be 0."); 15 assert_equals(String(blob), '[object Blob]'); 16 assert_equals(blob.size, 0); 17 assert_equals(blob.type, ""); 25 assert_equals(blob.size, 0); 26 assert_equals(blob.type, ""); 31 assert_equals(String(blob), '[object Blob]'); 32 assert_equals(blob.size, 0); 33 assert_equals(blob.type, ""); 79 assert_equals(blob.size, 5, 'Custom @@iterator should be treated as a sequence'); [all …]
|
/third_party/node/test/fixtures/wpt/dom/abort/ |
D | event.any.js | 10 assert_equals(state, "begin"); 16 assert_equals(state, "aborted"); 25 assert_equals(controller.signal, signal, 28 assert_equals(controller.signal, signal, 41 assert_equals(eventCount, 1, "event handler should have been called once"); 44 assert_equals(eventCount, 1, 59 assert_equals(e.type, "abort", "event type should be abort"); 60 assert_equals(e.target, signal, "event target should be signal");
|
/third_party/node/test/fixtures/wpt/console/ |
D | console-is-a-namespace.any.js | 11 assert_equals(propDesc.writable, true, "must be writable"); 12 assert_equals(propDesc.enumerable, false, "must not be enumerable"); 13 assert_equals(propDesc.configurable, true, "must be configurable"); 14 assert_equals(propDesc.value, console, "must have the right value"); 25 …assert_equals(Object.getOwnPropertyNames(prototype1).length, 0, "The [[Prototype]] must have no pr… 26 …assert_equals(prototype2, Object.prototype, "The [[Prototype]]'s [[Prototype]] must be %ObjectProt…
|
/third_party/node/test/fixtures/wpt/FileAPI/support/ |
D | Blob.js | 13 assert_equals(blob.type, type); 14 assert_equals(blob.size, expected.length); 18 assert_equals(this.result, expected); 37 assert_equals(blob.type, type); 38 assert_equals(blob.size, expected.length); 61 assert_equals(view1.byteLength, view2.byteLength, 67 assert_equals(view1.getUint8(i), view2.getUint8(i),
|