https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 04efd6e1335a95c91193bee07836e5788c79a0d7 authored by James Graham on 02 September 2015, 11:49:44 UTC
Fix script scheduling test and make it less timing sensitive
Tip revision: 04efd6e
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