OLD | NEW |
1 This directory contains Fetch API layout tests. As it is exposed to Window and | 1 This directory contains Fetch API layout tests. As it is exposed to Window and |
2 Worker, most (if not all) of tests are expected to run on Window and Worker. | 2 Worker, most (if not all) of tests are expected to run on Window and Worker. |
3 For each test (say X), we have a script X.js in /fetch/script-tests, | 3 For each test (say X), we have a script X.js in /fetch/script-tests, |
4 /fetch/X.html Window test file and /fetch/workers/X.html Worker test file. | 4 /fetch/X.html Window test file and /fetch/workers/X.html Worker test file. |
5 | 5 |
6 PRESUBMIT.py checks above. For each file in /fetch/script-tests, the | 6 PRESUBMIT.py checks above. For each file in /fetch/script-tests, the |
7 corresponding html files must exist in /fetch and /fetch/workers directories. | 7 corresponding html files must exist in /fetch and /fetch/workers directories. |
8 | 8 |
9 Other resources such as helper JS files and server side scripts are located on | 9 Other resources such as helper JS files and server side scripts are located on |
10 /fetch/resources. | 10 /fetch/resources. |
| 11 |
| 12 Tests should conform to Service Worker Testing style[1]. |
| 13 |
| 14 1: http://www.chromium.org/blink/serviceworker/testing |
OLD | NEW |