Skip to content

Commit

Permalink
Enable shadowrealm testing for abort api
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Sep 13, 2023
1 parent fe8c764 commit a9fd16e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dom/abort/AbortSignal.any.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// META: global=window,dedicatedworker,shadowrealm

test(t => {
const signal = AbortSignal.abort();
assert_true(signal instanceof AbortSignal, "returned object is an AbortSignal");
Expand Down
2 changes: 2 additions & 0 deletions dom/abort/event.any.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// META: global=window,dedicatedworker,shadowrealm

test(t => {
const c = new AbortController(),
s = c.signal;
Expand Down

0 comments on commit a9fd16e

Please sign in to comment.