Index: LayoutTests/http/tests/fetch/README |
diff --git a/LayoutTests/http/tests/fetch/README b/LayoutTests/http/tests/fetch/README |
index 9c03e22dc41b27d2f3513f218eeefddd467bdd54..234c6ceea86a872417e05311eaeb2eb39f398df8 100644 |
--- a/LayoutTests/http/tests/fetch/README |
+++ b/LayoutTests/http/tests/fetch/README |
@@ -18,6 +18,12 @@ $ python generate.py |
at this (/LayoutTests/http/tests/fetch/) directory to generate these files |
from templates script-tests/TEMPLATE*.html. |
+There are two kinds of tests. One is regular tests placed on script-tests |
+directory and another is "thorough" tests placed on script-tests/thorough |
+directory. Each has its own template files and default option settings. |
+Note: thorough tests were called as "fetch-access-control" tests. auth.js |
+was called as fetch-access-control-auth.js, for example. |
+ |
# Running on window, workers, serviceworker, serviceworker-proxied |
As it is exposed to Window and Worker, most (if not all) of tests are expected |
@@ -55,7 +61,7 @@ The options to be generated is listed in a line in X.js like: |
(Three files for OPTIONS = (empty), -other-https, -base-https-other-https are |
generated) |
Default: |
- For fetch-access-control*: ,-other-https,-base-https-other-https |
+ For thorough tests: ,-other-https,-base-https-other-https |
For others: ,-base-https-other-https |
# File structure |
@@ -67,13 +73,13 @@ Helper JS files and server side scripts are located on |
Include this before X.js and from HTML files. |
- /fetch/resources/fetch-test-options.js |
Process test options for X.js. BASE_ORIGIN/OTHER_ORIGIN are defined here. |
- Include this before X.js and fetch-access-control-util.js. |
+ Include this before X.js and thorough-util.js. |
- /fetch/resources/fetch-test-helpers.js |
Variables/functions commonly used from X.js. |
Include this before X.js. |
-- /fetch/resources/fetch-access-control-util.js |
- Utility functions for fetch-access-control* tests. |
- Include this before X.js in fetch-access-control* tests. |
+- /fetch/resources/thorough-util.js |
+ Utility functions for thorough tests. |
+ Include this before X.js in thorough tests. |
- /fetch/resources/init.js |
Initialization script executed on window. |
Include this from HTML files. |
@@ -86,7 +92,7 @@ Files wi wo sw swp wi wo sw swp |
/serviceworker/resources/test-helpers.js Y Y Y Y . . . . |
/fetch/resources/fetch-test-options.js Y - - Y . . . . |
/fetch/resources/fetch-test-helpers.js Y - - Y . Y Y . |
-/fetch/resources/fetch-access-control-util.js Y* - - Y* . Y* Y* . |
+/fetch/resources/thorough-util.js Y* - - Y* . Y* Y* . |
/fetch/script-tests/X.js Y - - Y |
/fetch/resources/init.js Y Y Y Y - - - - |
----------------------------------------------------- ------------ ------------ |
@@ -94,7 +100,7 @@ wi/wo/sw/swp: window/workers/serviceworker/serviceworker-proxied. |
Y: to be included. |
-: not to be included. |
.: included indirectly via HTML or fetch-test-helpers.js. |
-Y*: fetch-access-control* tests only. |
+Y*: thorough tests only. |
# PRESUBMIT.py |