diff --git a/testing/web-platform/tests/html/infrastructure/urls/terminology-0/nontraditional-about-srcdoc.html b/testing/web-platform/tests/html/infrastructure/urls/terminology-0/nontraditional-about-srcdoc.html new file mode 100644 index 000000000000..bdb33842a7da --- /dev/null +++ b/testing/web-platform/tests/html/infrastructure/urls/terminology-0/nontraditional-about-srcdoc.html @@ -0,0 +1,106 @@ + + +Non-traditional about:srcdoc documents + + + + + + diff --git a/testing/web-platform/tests/html/infrastructure/urls/terminology-0/resources/echo-referrer-text.py b/testing/web-platform/tests/html/infrastructure/urls/terminology-0/resources/echo-referrer-text.py new file mode 100644 index 000000000000..8a48d3346a6a --- /dev/null +++ b/testing/web-platform/tests/html/infrastructure/urls/terminology-0/resources/echo-referrer-text.py @@ -0,0 +1,4 @@ +def main(request, response): + response_headers = [(b"Content-Type", b"text/plain")] + body = b"%s"% request.headers.get(b"referer", b"") + return (200, response_headers, body)