summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/docs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /testing/web-platform/tests/docs
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/docs')
-rw-r--r--testing/web-platform/tests/docs/admin/pywebsocket3.rst56
-rw-r--r--testing/web-platform/tests/docs/running-tests/from-local-system.md2
-rw-r--r--testing/web-platform/tests/docs/writing-tests/file-names.md12
-rw-r--r--testing/web-platform/tests/docs/writing-tests/testdriver.md6
4 files changed, 41 insertions, 35 deletions
diff --git a/testing/web-platform/tests/docs/admin/pywebsocket3.rst b/testing/web-platform/tests/docs/admin/pywebsocket3.rst
index af768d6b35..3f742958b3 100644
--- a/testing/web-platform/tests/docs/admin/pywebsocket3.rst
+++ b/testing/web-platform/tests/docs/admin/pywebsocket3.rst
@@ -4,88 +4,88 @@ pywebsocket3: A Standalone WebSocket Server for testing purposes
.. contents::
:local:
-:mod:`mod_pywebsocket`
+:mod:`pywebsocket3`
---------------------------------------------
-.. automodule:: mod_pywebsocket
+.. automodule:: pywebsocket3
:members:
-:mod:`mod_pywebsocket.common`
+:mod:`pywebsocket3.common`
---------------------------------------------
-.. automodule:: mod_pywebsocket.common
+.. automodule:: pywebsocket3.common
:members:
-:mod:`mod_pywebsocket.dispatch`
+:mod:`pywebsocket3.dispatch`
---------------------------------------------
-.. automodule:: mod_pywebsocket.dispatch
+.. automodule:: pywebsocket3.dispatch
:members:
-:mod:`mod_pywebsocket.extensions`
+:mod:`pywebsocket3.extensions`
---------------------------------------------
-.. automodule:: mod_pywebsocket.extensions
+.. automodule:: pywebsocket3.extensions
:members:
-:mod:`mod_pywebsocket.handshake`
+:mod:`pywebsocket3.handshake`
---------------------------------------------
-.. automodule:: mod_pywebsocket.handshake
+.. automodule:: pywebsocket3.handshake
:members:
:imported-members:
-:mod:`mod_pywebsocket.request_handler`
+:mod:`pywebsocket3.request_handler`
---------------------------------------------
-.. automodule:: mod_pywebsocket.request_handler
+.. automodule:: pywebsocket3.request_handler
:members:
-:mod:`mod_pywebsocket.stream`
+:mod:`pywebsocket3.stream`
---------------------------------------------
-.. automodule:: mod_pywebsocket.stream
+.. automodule:: pywebsocket3.stream
:members:
:imported-members:
-:mod:`mod_pywebsocket.http_header_util`
+:mod:`pywebsocket3.http_header_util`
---------------------------------------------
-.. automodule:: mod_pywebsocket.http_header_util
+.. automodule:: pywebsocket3.http_header_util
:members:
-:mod:`mod_pywebsocket.msgutil`
+:mod:`pywebsocket3.msgutil`
---------------------------------------------
-.. automodule:: mod_pywebsocket.msgutil
+.. automodule:: pywebsocket3.msgutil
:members:
-:mod:`mod_pywebsocket.util`
+:mod:`pywebsocket3.util`
---------------------------------------------
-.. automodule:: mod_pywebsocket.util
+.. automodule:: pywebsocket3.util
:members:
-:mod:`mod_pywebsocket.memorizingfile`
+:mod:`pywebsocket3.memorizingfile`
---------------------------------------------
-.. automodule:: mod_pywebsocket.memorizingfile
+.. automodule:: pywebsocket3.memorizingfile
:members:
-:mod:`mod_pywebsocket.websocket_server`
+:mod:`pywebsocket3.websocket_server`
---------------------------------------------
-.. automodule:: mod_pywebsocket.websocket_server
+.. automodule:: pywebsocket3.websocket_server
:members:
-:mod:`mod_pywebsocket.server_util`
+:mod:`pywebsocket3.server_util`
---------------------------------------------
-.. automodule:: mod_pywebsocket.server_util
+.. automodule:: pywebsocket3.server_util
:members:
-:mod:`mod_pywebsocket.standalone`
+:mod:`pywebsocket3.standalone`
---------------------------------------------
-.. automodule:: mod_pywebsocket.standalone
+.. automodule:: pywebsocket3.standalone
:members:
diff --git a/testing/web-platform/tests/docs/running-tests/from-local-system.md b/testing/web-platform/tests/docs/running-tests/from-local-system.md
index 89533ee210..0d524ea356 100644
--- a/testing/web-platform/tests/docs/running-tests/from-local-system.md
+++ b/testing/web-platform/tests/docs/running-tests/from-local-system.md
@@ -16,7 +16,7 @@ cd wpt
Running the tests requires `python` and `pip` as well as updating the
system `hosts` file.
-WPT requires Python 3.7 or higher.
+WPT requires Python 3.8 or higher.
The required setup is different depending on your operating system.
diff --git a/testing/web-platform/tests/docs/writing-tests/file-names.md b/testing/web-platform/tests/docs/writing-tests/file-names.md
index 96296c4ff6..5336bfb528 100644
--- a/testing/web-platform/tests/docs/writing-tests/file-names.md
+++ b/testing/web-platform/tests/docs/writing-tests/file-names.md
@@ -11,10 +11,10 @@ These are individually documented for each flag that supports it.
### Test Type
-These flags must be the last element in the filename before the
-extension e.g. `foo-manual.html` will indicate a manual test, but
-`foo-manual-other.html` will not. Unlike test features, test types
-are mutually exclusive.
+These flags are preceded by a `-` and followed by a `.`, and must be the
+last such element in the filename, e.g. `foo-manual.html` will indicate
+a manual test, but `foo-manual-other.html` will not. Unlike test features,
+test types are mutually exclusive.
`-manual`
@@ -26,8 +26,8 @@ are mutually exclusive.
### Test Features
-These flags are preceded by a `.` in the filename, and must
-themselves precede any test type flag, but are otherwise unordered.
+These flags are preceded and followed by a `.` in the filename, and must themselves
+go after any test type flag, but are otherwise unordered.
`.https`
diff --git a/testing/web-platform/tests/docs/writing-tests/testdriver.md b/testing/web-platform/tests/docs/writing-tests/testdriver.md
index 73af3bb3c8..fcf0199bad 100644
--- a/testing/web-platform/tests/docs/writing-tests/testdriver.md
+++ b/testing/web-platform/tests/docs/writing-tests/testdriver.md
@@ -119,6 +119,12 @@ the global scope.
.. js:autofunction:: test_driver.get_virtual_sensor_information
```
+### Device Posture ###
+```eval_rst
+.. js:autofunction:: test_driver.set_device_posture
+.. js:autofunction:: test_driver.clear_device_posture
+```
+
### Using test_driver in other browsing contexts ###
Testdriver can be used in browsing contexts (i.e. windows or frames)