content-length.html (436B)
1 <!DOCTYPE html> 2 <!-- CAUTION: if updating this test also update the expected content-length in the .headers file --> 3 <title>Content-Length Test</title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script> 7 setup({ single_test: true }); 8 onload = function() { 9 assert_equals(document.body.textContent, "PASS"); 10 done(); 11 } 12 </script> 13 <body>PASS 14 but FAIL if this is in the body.