Skip to content

Commit a4a8d12

Browse files
committed
Update readme/config
1 parent 7423873 commit a4a8d12

File tree

4 files changed

+125
-2
lines changed

4 files changed

+125
-2
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
charset = utf-8
10+
11+
# 4 space indentation
12+
[*.{py}]
13+
indent_style = space
14+
indent_size = 4
15+
16+
# 2 space indentation
17+
[*.{js}]
18+
indent_style = space
19+
indent_size = 2

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This repository contains all code for our paper `Head(er)s Up! Detecting Security Header Inconsistencies in Browsers`.
44

55
This repository is a fork of [WPT](https://github.com/web-platform-tests/wpt), the original README can be found [here](./README_original.md).
6-
All test and analysis code for our paper can be found in the `_hp` directory.
6+
All test and analysis code for our paper can be found in the [_hp](./_hp/README.md) directory.
77
Our modified version of the wptserve HTTP server implementation can be found in `tools/serve` and `tools/wptserve`. All other directories are untouched and required for `wptserve` to run, we removed the other WPT test directories for better clarity.
88

99
## Setup
@@ -40,5 +40,6 @@ Our modified version of the wptserve HTTP server implementation can be found in
4040
- `analysis/`: Analysis code (.ipynb files) + utils
4141
- `certs/`: Put your certs here to enable testing of HTTPS
4242
- `crawler/`: Intent (Android), Selenium (Mac + Ubuntu), and Browser Page Runner (iOS) test runners + utils
43+
- `pyproject.toml`, `wpt-config.json`, and more: Various config files for the project
4344
- `tools/`: Contains modified `wptserve`
4445
- Other directories are used by `wptserve` internally but are not modified

_hp/poetry.lock

Lines changed: 103 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_hp/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pytest = "^8.3.3"
3131
black = "^24.8.0"
3232
flake8 = "^7.1.1"
3333
pre-commit = "^3.8.0"
34+
pytest-cov = "^5.0.0"
3435

3536
[build-system]
3637
requires = ["poetry-core"]

0 commit comments

Comments
 (0)