/third_party/node/test/fixtures/wpt/html/webappapis/microtask-queuing/ |
D | queue-microtask.any.js | 9 assert_throws(new TypeError(), () => queueMicrotask(), "no argument"); 10 assert_throws(new TypeError(), () => queueMicrotask(undefined), "undefined"); 11 assert_throws(new TypeError(), () => queueMicrotask(null), "null"); 12 assert_throws(new TypeError(), () => queueMicrotask(0), "0"); 13 …assert_throws(new TypeError(), () => queueMicrotask({ handleEvent() { } }), "an event handler obje… 14 assert_throws(new TypeError(), () => queueMicrotask("window.x = 5;"), "a string");
|
/third_party/node/test/fixtures/wpt/encoding/streams/ |
D | decode-attributes.any.js | 49 assert_throws(new RangeError(), () => new TextDecoderStream(''), 54 assert_throws(new TypeError(), () => new TextDecoderStream({ 60 assert_throws(new Error(), 67 assert_throws(new Error(),
|
/third_party/node/test/fixtures/wpt/encoding/ |
D | textdecoder-fatal-streaming.any.js | 10 assert_throws(new TypeError(), function() { 31 assert_throws(new TypeError(), function() { 36 assert_throws(new TypeError(), function() {
|
D | textdecoder-fatal.any.js | 54 assert_throws(new TypeError(), function() { 74 assert_throws(new TypeError,
|
D | encodeInto.any.js | 128 …assert_throws(new TypeError(), () => new TextEncoder().encodeInto("", new view(new ArrayBuffer(0))… 133 assert_throws(new TypeError(), () => new TextEncoder().encodeInto("", new ArrayBuffer(10)));
|
D | api-replacement-encodings.any.js | 10 assert_throws(new RangeError(), function() { new TextDecoder(label); });
|
D | api-invalid-label.any.js | 22 assert_throws(new RangeError(), function() { new TextDecoder(input); });
|
D | textdecoder-utf16-surrogates.any.js | 41 assert_throws(new TypeError(), function() {
|
D | textdecoder-fatal-single-byte.any.js | 40 assert_throws(new TypeError(), function() {
|
/third_party/node/test/parallel/ |
D | test-whatwg-url-constructor.js | 9 const { test, assert_equals, assert_true, assert_throws } = 50 assert_throws(new TypeError(), function() { 102 assert_throws(TypeError(), function() { url.searchParams = new URLSearchParams(urlString) })
|
D | test-whatwg-url-toascii.js | 9 const { test, assert_equals, assert_throws } = require('../common/wpt').harness; 62 assert_throws(new TypeError, () => makeURL("url", hostTest.input))
|
/third_party/node/test/fixtures/wpt/url/ |
D | urlsearchparams-constructor.any.js | 25 assert_throws(new TypeError(), () => new URLSearchParams(DOMException.prototype), 156 assert_throws(new TypeError(), function() { new URLSearchParams([[1]]); }); 157 assert_throws(new TypeError(), function() { new URLSearchParams([[1,2,3]]); });
|
D | historical.any.js | 18 assert_throws(new TypeError(), function() {
|
D | toascii.window.js | 31 assert_throws(new TypeError, () => makeURL("url", hostTest.input))
|
D | url-searchparams.any.js | 32 assert_throws(TypeError(), function() { url.searchParams = new URLSearchParams(urlString) })
|
/third_party/node/test/fixtures/wpt/console/ |
D | console-label-conversion.any.js | 21 assert_throws({name: 'Error'}, () => {
|
/third_party/node/test/fixtures/wpt/resources/ |
D | idlharness.js | 90 assert_throws(new TypeError(), function() { 737 IdlArray.prototype.assert_throws = function(error, idlArrayFunc) method in IdlArray 1567 assert_throws(new TypeError(), function() { 1570 assert_throws(new TypeError(), function() { 1788 assert_throws(new TypeError(), function() { 2033 assert_throws(new TypeError(), function() { 2060 assert_throws(new TypeError(), function() { 2241 assert_throws(new TypeError(), function() { 2525 assert_throws(new TypeError(), function() { 2534 assert_throws(new TypeError(), function() { [all …]
|
D | testharness.js | 629 assert_throws(expected, function() { throw e }, description); 1342 function assert_throws(code, func, description) function 1466 expose(assert_throws, "assert_throws");
|
/third_party/node/test/common/ |
D | wpt.js | 26 assert_throws: (code, func, desc) => {
|