1 Checks the various use cases around the SharedWorker constructor's optional name parameter
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS created SharedWorker with no name
7 PASS successfullyParsed is true
11 PASS creating worker with no name
12 PASS creating worker with empty name
13 PASS creating worker with an undefined name
14 PASS creating worker with different name but same URL
15 PASS creating no-name worker with alternate URL
16 PASS creating empty name worker with alternate URL
17 PASS created SharedWorker with name 'null'
19 PASS creating worker with a null name
20 PASS the name attribute of worker can be set correctly