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
8 PASS creating worker with no name
9 PASS creating worker with empty name
10 PASS creating worker with different name but same URL
11 PASS creating no-name worker with alternate URL
12 PASS creating empty name worker with alternate URL
13 PASS created SharedWorker with name 'null'
15 PASS creating worker with a null name
16 PASS created SharedWorker with name 'undefined'
18 PASS creating worker with an undefined name
19 PASS the name attribute of worker can be set correctly