Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 2ae499f

Browse files
zcorpanjgraham
authored andcommitted
[docs] Add documentation for common/
Part of #17913.
1 parent 819a234 commit 2ae499f

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

common/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
The files in this directory are non-infrastructure support files that can be used by tests.
2+
3+
* `blank.html` - An empty HTML document.
4+
* `css-red.txt` - A text/plain "CSS" document.
5+
* `domain-setter.sub.html` - An HTML document that sets `document.domain`.
6+
* `dummy.xhtml` - An XHTML document.
7+
* `dummy.xml` - An XML document.
8+
* `entities.json` - All named character references in HTML.
9+
* `text-plain.txt` - A text/plain document.
10+
* `*.js` - Utility scripts. These are documented in the source.
11+
* `*.py` - wptserve [Python Handlers](https://web-platform-tests.org/writing-tests/python-handlers/). These are documented in the source.
12+
* `security-features` - Documented in `security-features/README.md`.

common/security-features/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ except that:
3333
always `top`, which represents the top-level generated test HTML.
3434
(This entry is omitted in the JSON passed to JavaScript, but
3535
the policy deliveries specified here are written as e.g.
36-
<meta> elements in the generated test HTML or HTTP headers)
36+
`<meta>` elements in the generated test HTML or HTTP headers)
3737
- Instead of `PolicyDelivery` object (in `sourceContextList` or
3838
`subresourcePolicyDeliveries`), following placeholder strings can be used.
3939

0 commit comments

Comments
 (0)