summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/websockets/idlharness.any.js
blob: 653cc36d21da033f08ccfb7de68f171189047f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://websockets.spec.whatwg.org/

"use strict";

idl_test(
  ['websockets'],
  ['html', 'dom'],
  idl_array => {
    idl_array.add_objects({
      WebSocket: ['new WebSocket("ws://invalid")'],
      CloseEvent: ['new CloseEvent("close")'],
    });
  }
);