mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
6
tests/wpt/web-platform-tests/common/echo.py
Normal file
6
tests/wpt/web-platform-tests/common/echo.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
def main(request, response):
|
||||
# Without X-XSS-Protection to disable non-standard XSS protection the functionality this
|
||||
# resource offers is useless
|
||||
response.headers.set("X-XSS-Protection", "0")
|
||||
response.headers.set("Content-Type", "text/html")
|
||||
response.content = request.GET.first("content")
|
Loading…
Add table
Add a link
Reference in a new issue