https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 58127895fe8f809647dd0e098a7004c5bd47f67f authored by Ms2ger on 02 March 2017, 12:04:34 UTC
fixup! Use the print function in some scripts.
Tip revision: 5812789
content_length.html
<!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.
back to top