OLD | NEW |
| (Empty) |
1 Test importScripts. | |
2 | |
3 Test started. | |
4 PASS: importScripts(), exists, is a function, and doesn't throw when not given a
ny arguments | |
5 Loaded message from different origin | |
6 PASS: executed script from different origin | |
7 Loaded message from different origin | |
8 PASS: executed script from different origin through a redirect | |
9 Testing single argument: | |
10 Loaded resource 1 | |
11 PASS: loaded first source | |
12 Testing multiple arguments: | |
13 Loaded resource 1 | |
14 Loaded resource 2 | |
15 PASS: Both sources loaded and executed. | |
16 Testing multiple arguments (different order): | |
17 Resource 2 loaded before resource 1 | |
18 Loaded resource 2 | |
19 Loaded resource 1 | |
20 PASS: Both sources loaded and executed. | |
21 Testing multiple arguments, with different origin for one argument: | |
22 Loaded resource 1 | |
23 Loaded message from different origin | |
24 Loaded resource 2 | |
25 PASS: all resources executed. | |
26 Loaded resource 1 | |
27 PASS: Threw NetworkError: A network error occurred. when load failed | |
28 PASS: some resources were loaded despite the network error | |
29 Loaded resource 1 | |
30 PASS: Threw SyntaxError: Unexpected identifier when encountering a syntax error
in imported script | |
31 PASS: some resources were loaded despite the presence of a syntax error | |
32 Testing multiple arguments, with first resource throwing an exception: | |
33 Loaded resource 1 | |
34 First resource throwing an exception | |
35 PASS: Propagated 'Thrown by first resource' from script | |
36 PASS: First resource was executed, and second resource was not | |
37 Testing multiple arguments, with second resource throwing an exception: | |
38 Loaded resource 1 | |
39 Loaded resource 2 | |
40 Second resource throwing an exception | |
41 PASS: Propagated 'Thrown by second resource' from script | |
42 PASS: Both scripts were executed | |
43 DONE | |
44 | |
OLD | NEW |