You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,15 @@ Our modified version of the wptserve HTTP server implementation can be found in
20
20
- Manually check if the server and the tests are working: Visit http://sub.headers.websec.saarland:80/_hp/tests/framing.sub.html and confirm that tests are loaded and executed.
21
21
- Optional: Run tests to check that everything is working correctly: `poetry run -C _hp pytest _hp`
22
22
- Optional: Change the used domains in [_hp/wpt-config.json](_hp/wpt-config.json) and [_hp/host-config.txt](_hp/host-config.txt)
23
-
- To run it inside a Docker container: `docker compose up --build`. This should spin up the server.
23
+
- To run it inside a Docker container: `docker compose up --build`. This should spin up the server (as we use the same docker for the linux desktop browsers, the container is configured as `platform: linux/amd64` meaning it is emulated and slow on AppleSilicon)
24
24
25
25
26
26
## Reproduce or Enhance our Results
27
27
In the following, we describe how to reproduce all our results from the paper.
28
28
By slightly adapting the configuration and updating the used browsers, it is also possible to run our tool chain on new/other browser configurations.
29
29
30
30
### Desktop Browsers (Linux Ubuntu)
31
+
- Note: if running in the docker container on AppleSilicon only headless browser will work as Xvfb cannot be emulated
31
32
- Execute `cd _hp/hp/tools/crawler`
32
33
- If using self-signed certs, add `--ignore_certs` to all commands.
33
34
- Run the following for a quick test run to check that everything is working: `poetry run python desktop_selenium.py --debug_browsers --resp_type debug`
# The differences always only are between http-origin, https-origin, full-url, none, timeout; there is never a difference between the various origins, thus we can merge them to make our live easier
0 commit comments