blob: b6cdc5afdd66af1fcccd15707381a85080263f9d [file] [log] [blame]
"use strict";
importScripts("/resources/testharness.js");
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
idl_test(
["html"],
["wai-aria", "dom", "cssom", "touch-events", "uievents"],
idlArray => {
idlArray.add_untested_idls('typedef Window WindowProxy;');
idlArray.add_objects({
WorkerLocation: ['self.location'],
WorkerNavigator: ['self.navigator'],
EventSource: ['new EventSource("http://invalid")'],
WebSocket: ['new WebSocket("ws://invalid")'],
CloseEvent: ['new CloseEvent("close")'],
Worker: [],
MessageEvent: ['new MessageEvent("message", { data: 5 })'],
DedicatedWorkerGlobalScope: ['self'],
});
}
);
done();