From d7583400695c3f7362280851e1bfb7aa249b8aa3 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 10 Feb 2022 17:15:03 +0100 Subject: [PATCH] Add tests for Web APIs in ShadowRealms. (#32800) Ref. https://github.com/tc39/proposal-shadowrealm/issues/331. --- compression/idlharness-shadowrealm.window.js | 2 ++ encoding/idlharness-shadowrealm.window.js | 2 ++ hr-time/idlharness-shadowrealm.window.js | 2 ++ html/dom/idlharness-shadowrealm.window.js | 2 ++ performance-timeline/idlharness-shadowrealm.window.js | 2 ++ streams/idlharness-shadowrealm.window.js | 2 ++ url/idlharness-shadowrealm.window.js | 2 ++ user-timing/idlharness-shadowrealm.window.js | 2 ++ 8 files changed, 16 insertions(+) create mode 100644 compression/idlharness-shadowrealm.window.js create mode 100644 encoding/idlharness-shadowrealm.window.js create mode 100644 hr-time/idlharness-shadowrealm.window.js create mode 100644 html/dom/idlharness-shadowrealm.window.js create mode 100644 performance-timeline/idlharness-shadowrealm.window.js create mode 100644 streams/idlharness-shadowrealm.window.js create mode 100644 url/idlharness-shadowrealm.window.js create mode 100644 user-timing/idlharness-shadowrealm.window.js diff --git a/compression/idlharness-shadowrealm.window.js b/compression/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..2fdc807ee07e329 --- /dev/null +++ b/compression/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["compression"], ["streams"]); diff --git a/encoding/idlharness-shadowrealm.window.js b/encoding/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..baf3efcbb027e4f --- /dev/null +++ b/encoding/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["encoding"], ["streams"]); diff --git a/hr-time/idlharness-shadowrealm.window.js b/hr-time/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..3209db5f41b721a --- /dev/null +++ b/hr-time/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["hr-time"], ["html", "dom"]); diff --git a/html/dom/idlharness-shadowrealm.window.js b/html/dom/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..cb9449acb1bd025 --- /dev/null +++ b/html/dom/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["html"], ["wai-aria", "SVG", "cssom", "touch-events", "uievents", "dom", "xhr", "FileAPI", "mediacapture-streams"]); diff --git a/performance-timeline/idlharness-shadowrealm.window.js b/performance-timeline/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..6caaa3306132bdc --- /dev/null +++ b/performance-timeline/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["performance-timeline"], ["hr-time", "dom"]); diff --git a/streams/idlharness-shadowrealm.window.js b/streams/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..099b2475ca7e879 --- /dev/null +++ b/streams/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["streams"], ["dom"]); diff --git a/url/idlharness-shadowrealm.window.js b/url/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..2373f84e0e251a9 --- /dev/null +++ b/url/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["url"], []); diff --git a/user-timing/idlharness-shadowrealm.window.js b/user-timing/idlharness-shadowrealm.window.js new file mode 100644 index 000000000000000..340da96f749d491 --- /dev/null +++ b/user-timing/idlharness-shadowrealm.window.js @@ -0,0 +1,2 @@ +// META: script=/resources/idlharness-shadowrealm.js +idl_test_shadowrealm(["user-timing"], ["hr-time", "performance-timeline", "dom"]);