Lines Matching refs:strictEqual
30 assert.strictEqual(url.toString(), url.href);
32 assert.strictEqual(url.href,
34 assert.strictEqual(url.toString(), url.href);
37 assert.strictEqual((delete url.href), true);
38 assert.strictEqual(url.href,
40 assert.strictEqual(url.searchParams, oldParams); // [SameObject]
49 assert.strictEqual(url.origin, 'http://foo.bar.com:21');
50 assert.strictEqual(url.toString(),
52 assert.strictEqual((delete url.origin), true);
53 assert.strictEqual(url.origin, 'http://foo.bar.com:21');
57 assert.strictEqual(url.protocol, 'https:');
58 assert.strictEqual(url.toString(),
60 assert.strictEqual((delete url.protocol), true);
61 assert.strictEqual(url.protocol, 'https:');
64 assert.strictEqual(url.username, 'user2');
65 assert.strictEqual(url.toString(),
67 assert.strictEqual((delete url.username), true);
68 assert.strictEqual(url.username, 'user2');
71 assert.strictEqual(url.password, 'pass2');
72 assert.strictEqual(url.toString(),
74 assert.strictEqual((delete url.password), true);
75 assert.strictEqual(url.password, 'pass2');
78 assert.strictEqual(url.host, 'foo.bar.net:22');
79 assert.strictEqual(url.toString(),
81 assert.strictEqual((delete url.host), true);
82 assert.strictEqual(url.host, 'foo.bar.net:22');
85 assert.strictEqual(url.hostname, 'foo.bar.org');
86 assert.strictEqual(url.toString(),
88 assert.strictEqual((delete url.hostname), true);
89 assert.strictEqual(url.hostname, 'foo.bar.org');
92 assert.strictEqual(url.port, '23');
93 assert.strictEqual(url.toString(),
95 assert.strictEqual((delete url.port), true);
96 assert.strictEqual(url.port, '23');
99 assert.strictEqual(url.pathname, '/aaa/bbb');
100 assert.strictEqual(url.toString(),
102 assert.strictEqual((delete url.pathname), true);
103 assert.strictEqual(url.pathname, '/aaa/bbb');
106 assert.strictEqual(url.search, '?k=99');
107 assert.strictEqual(url.toString(),
109 assert.strictEqual((delete url.search), true);
110 assert.strictEqual(url.search, '?k=99');
113 assert.strictEqual(url.hash, '#abcd');
114 assert.strictEqual(url.toString(),
116 assert.strictEqual((delete url.hash), true);
117 assert.strictEqual(url.hash, '#abcd');
126 assert.strictEqual(url.searchParams, oldParams);
127 assert.strictEqual(url.toString(),
129 assert.strictEqual((delete url.searchParams), true);
130 assert.strictEqual(url.searchParams, oldParams);
145 assert.strictEqual(new URL(test.url).origin, test.expected);