blob: e129059dcb39fbc486f69c82778fc39a17f4e71e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
Test WorkerContext.close functionality. Should print a series of PASS messages, followed with DONE.
PASS: typeof close: function
PASS: received message before close
PASS: Received message posted right after close() was invoked: Should be delivered
PASS: no messages arrive to worker after JS fragment with close() exits
PASS: Error arrived after close: Uncaught ReferenceError: nonExistentFunction is not defined
PASS: close() did not dispatch pending events
PASS: Received message after worker closed: Should be delivered
DONE
|