Merge pull request #11619 from frivoal/css-ui-11598

[css-ui] Fix paths to work in testharness & css built test suites
diff --git a/beacon/idlharness.any.js b/beacon/idlharness.any.js
new file mode 100644
index 0000000..958daf4
--- /dev/null
+++ b/beacon/idlharness.any.js
@@ -0,0 +1,17 @@
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+// https://w3c.github.io/beacon/
+
+promise_test(async () => {
+  const idl = await fetch('/interfaces/beacon.idl').then(r => r.text());
+  const html = await fetch('/interfaces/html.idl').then(r => r.text());
+
+  const idl_array = new IdlArray();
+  idl_array.add_idls(idl);
+  idl_array.add_dependency_idls(html);
+  idl_array.add_objects({
+    Navigator: ['navigator'],
+  });
+  idl_array.test();
+}, 'beacon interfaces');
diff --git a/interfaces/beacon.idl b/interfaces/beacon.idl
new file mode 100644
index 0000000..6634485
--- /dev/null
+++ b/interfaces/beacon.idl
@@ -0,0 +1,8 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Beacon" spec.
+// See: https://w3c.github.io/beacon/
+
+partial interface Navigator {
+    boolean sendBeacon(USVString url, optional BodyInit? data = null);
+};