Skip to content

Commit

Permalink
DOMException: Add test for Error.isError
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel-rowe authored Dec 13, 2024
1 parent c0bb4ac commit d0a4c30
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// META: global=window,dedicatedworker,shadowrealm

'use strict';

test(function() {
// https://github.com/tc39/proposal-is-error/issues/9
// https://github.com/whatwg/webidl/pull/1421
assert_true(Error.isError(new DOMException()));
});

0 comments on commit d0a4c30

Please sign in to comment.