forked from mirrors/gecko-dev
		
	 0a8ff0ad85
			
		
	
	
		0a8ff0ad85
		
	
	
	
	
		
			
			# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35951 --HG-- extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			516 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			516 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| importScripts("websocket_helpers.js");
 | |
| importScripts("websocket_tests.js");
 | |
| importScripts("websocket_worker_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()
 | |
|   test49, // Test that we fail if subprotocol returned from server doesn't match
 | |
| ];
 | |
| 
 | |
| doTest();
 |