summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/http/content_length.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/http/content_length.html')
-rw-r--r--testing/web-platform/tests/http/content_length.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/http/content_length.html b/testing/web-platform/tests/http/content_length.html
new file mode 100644
index 000000000..af8ea44ee
--- /dev/null
+++ b/testing/web-platform/tests/http/content_length.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<!-- CAUTION: if updating this test also update the expected content-length in the .headers file -->
+<title>Content-Length Test</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+onload = function() {
+ assert_equals(document.body.textContent, "PASS");
+ done();
+}
+</script>
+<body>PASS
+but FAIL if this is in the body. \ No newline at end of file