DOMException-is-error.any.js (243B)
1 // META: global=window,dedicatedworker,shadowrealm 2 3 'use strict'; 4 5 test(function() { 6 // https://github.com/tc39/proposal-is-error/issues/9 7 // https://github.com/whatwg/webidl/pull/1421 8 assert_true(Error.isError(new DOMException())); 9 });