OLD | NEW |
1 Checks the various use cases around the SharedWorker constructor's optional name
parameter | 1 Checks the various use cases around the SharedWorker constructor's optional name
parameter |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS created SharedWorker with no name | 6 PASS created SharedWorker with no name |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 PASS setting self.foo | 10 PASS setting self.foo |
11 PASS creating worker with no name | 11 PASS creating worker with no name |
12 PASS creating worker with empty 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 | 13 PASS creating worker with different name but same URL |
15 PASS creating no-name worker with alternate URL | 14 PASS creating no-name worker with alternate URL |
16 PASS creating empty name worker with alternate URL | 15 PASS creating empty name worker with alternate URL |
17 PASS created SharedWorker with name 'null' | 16 PASS created SharedWorker with name 'null' |
18 PASS setting self.foo | 17 PASS setting self.foo |
19 PASS creating worker with a null name | 18 PASS creating worker with a null name |
| 19 PASS created SharedWorker with name 'undefined' |
| 20 PASS setting self.foo |
| 21 PASS creating worker with an undefined name |
20 PASS the name attribute of worker can be set correctly | 22 PASS the name attribute of worker can be set correctly |
21 | 23 |
22 TEST COMPLETE | 24 TEST COMPLETE |
23 | 25 |
OLD | NEW |