summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/websocket_worker5.js
blob: 41d6e9be00530d38ac4f4c5e564ee90db5e8bf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
importScripts('../../../dom/base/test/websocket_helpers.js');
importScripts('../../../dom/base/test/websocket_tests.js');
importScripts('websocket_helpers.js');

var tests = [
  test42, // non-char utf-8 sequences
  test43, // Test setting binaryType attribute
  test44, // Test sending/receving binary ArrayBuffer
  test46, // Test that we don't dispatch incoming msgs once in CLOSING state
  test47, // Make sure onerror/onclose aren't called during close()
];

doTest();