blob: 5a1231d7b5965edc554cbdad930793b00afa5ddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!doctype html>
<title>no arguments</title>
<link rel=help href="http://www.whatwg.org/html/#sharedworker">
<link rel=help href="http://dev.w3.org/2006/webapi/WebIDL/#es-interface-call">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(() => {
assert_throws_js(TypeError, () => {
const worker = new SharedWorker();
});
});
</script>
|