summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/content-length/content-length.html
blob: cda9b5b523701558c0d613bf6e0e5462b0ffa9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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>
setup({ single_test: true });
onload = function() {
  assert_equals(document.body.textContent, "PASS");
  done();
}
</script>
<body>PASS
but FAIL if this is in the body.