Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -67,6 +67,17 @@ import importlib
myhelper = importlib.import_module('common.security-features.myhelper')
```
**Note on __init__ files**: Importing helper scripts like this
requires a 'path' of empty `__init__.py` files in every directory down
to the helper. For example, if your helper is
`css/css-align/resources/myhelper.py`, you need to have:
```
css/__init__.py
css/css-align/__init__.py
css/css-align/resources/__init__.py
```
## Example: Dynamic HTTP headers
The following code defines a Python handler that allows the requester to