diff --git a/accelerometer/idlharness.https.html b/accelerometer/idlharness.https.html
index 3c3c96e88e8740..1f32be986855b7 100644
--- a/accelerometer/idlharness.https.html
+++ b/accelerometer/idlharness.https.html
@@ -15,7 +15,7 @@
const idl_array = new IdlArray();
idl_array.add_untested_idls(dom);
idl_array.add_untested_idls('interface EventHandler {};');
- idl_array.add_idls(generic_sensor, { only: ['Sensor'] });
+ idl_array.add_idls(generic_sensor, { only: ['Sensor', 'SensorOptions'] });
idl_array.add_idls(accelerometer);
idl_array.add_objects({
Accelerometer: ['new Accelerometer();'],
diff --git a/background-fetch/interfaces.html b/background-fetch/interfaces.html
index f512e454071250..51e320e64379f0 100644
--- a/background-fetch/interfaces.html
+++ b/background-fetch/interfaces.html
@@ -12,15 +12,17 @@
idlharness test
diff --git a/background-fetch/interfaces.worker.js b/background-fetch/interfaces.worker.js
index 89a7cb3da0ad73..9b8d0264a56f99 100644
--- a/background-fetch/interfaces.worker.js
+++ b/background-fetch/interfaces.worker.js
@@ -3,16 +3,18 @@
importScripts('/resources/testharness.js');
importScripts('/resources/WebIDLParser.js', '/resources/idlharness.js');
-promise_test(function() {
- return fetch('/interfaces/background-fetch.idl')
- .then(response => response.text())
- .then(idls => {
- var idlArray = new IdlArray();
- idlArray.add_untested_idls('interface ServiceWorkerRegistration {};');
- idlArray.add_untested_idls('[Exposed=ServiceWorker] interface ServiceWorkerGlobalScope {};');
- idlArray.add_idls(idls);
- idlArray.test();
- });
+promise_test(async function() {
+ const idls = await fetch('/interfaces/background-fetch.idl').then(r => r.text());
+ const dom = await fetch('/interfaces/dom.idl').then(r => r.text());
+
+ var idlArray = new IdlArray();
+ idlArray.add_untested_idls('interface ServiceWorkerRegistration {};');
+ idlArray.add_untested_idls('[Exposed=ServiceWorker] interface ServiceWorkerGlobalScope {};');
+ idlArray.add_untested_idls('interface ExtendableEvent{};');
+ idlArray.add_untested_idls('dictionary ExtendableEventInit{};');
+ idlArray.add_untested_idls(dom, { only: ['EventTarget'] });
+ idlArray.add_idls(idls);
+ idlArray.test();
}, 'Exposed interfaces in a Service Worker.');
done();
diff --git a/clipboard-apis/async-interfaces.https.html b/clipboard-apis/async-interfaces.https.html
index d69fb70a731dfd..1f523e5d565dec 100644
--- a/clipboard-apis/async-interfaces.https.html
+++ b/clipboard-apis/async-interfaces.https.html
@@ -9,13 +9,13 @@
diff --git a/content-security-policy/securitypolicyviolation/idl.html b/content-security-policy/securitypolicyviolation/idl.html
index a4f9e68f8314db..2853b868e57a4b 100644
--- a/content-security-policy/securitypolicyviolation/idl.html
+++ b/content-security-policy/securitypolicyviolation/idl.html
@@ -21,9 +21,6 @@
long lineNumber;
long columnNumber;
};
-
- interface Event {
- };
diff --git a/cookie-store/idlharness.tentative.html b/cookie-store/idlharness.tentative.html
index e9ffab3730f3b5..e313b04ff8f3ab 100644
--- a/cookie-store/idlharness.tentative.html
+++ b/cookie-store/idlharness.tentative.html
@@ -10,21 +10,38 @@
'use strict';
promise_test(async t => {
- const urls = ['/interfaces/html.idl', '/interfaces/cookie-store.idl'];
- const [html, cookie_store] = await Promise.all(
- urls.map(url => fetch(url).then(response => response.text())));
+ const urls = [
+ '/interfaces/uievents.idl',
+ '/interfaces/dom.idl',
+ '/interfaces/html.idl',
+ '/interfaces/cookie-store.idl'
+ ];
+ const [uievents, dom, html, cookie_store] = await Promise.all(
+ urls.map(url => fetch(url).then(r => r.text())));
const idl_array = new IdlArray();
// Dependencies of HTML
+ idl_array.add_untested_idls(dom, { only: [
+ 'Event',
+ 'EventInit',
+ 'EventTarget',
+ 'HTMLCollection',
+ 'NodeList',
+ ] });
idl_array.add_untested_idls('interface Document {};');
+ idl_array.add_untested_idls('interface Element {};');
idl_array.add_untested_idls('interface LinkStyle {};');
idl_array.add_untested_idls('interface SVGElement {};');
idl_array.add_untested_idls(html);
+ idl_array.add_untested_idls(uievents, { only: [
+ 'UIEvent',
+ 'UIEventInit',
+ 'MouseEvent',
+ 'MouseEventInit',
+ 'EventModifierInit',
+ ] });
- idl_array.add_untested_idls('interface Event {};');
- idl_array.add_untested_idls('dictionary EventInit {};');
- idl_array.add_untested_idls('interface EventTarget {};');
idl_array.add_untested_idls(
`[Global=ServiceWorker, Exposed=ServiceWorker]
interface ServiceWorkerGlobalScope {};`);
diff --git a/css/cssom-view/interfaces.html b/css/cssom-view/interfaces.html
index c6e3662334e780..308c1b4e2647c6 100644
--- a/css/cssom-view/interfaces.html
+++ b/css/cssom-view/interfaces.html
@@ -17,11 +17,12 @@ CSSOM View IDL tests