post-entries-length-to-top.html (289B)
1 <!doctype html> 2 <script src="/resources/testharness.js"></script> 3 <script> 4 // Wait for after the load event so that the navigation doesn't get converted 5 // into a replace navigation. 6 window.onload = () => step_timeout(() => top.postMessage(navigation.entries().length, "*"), 0); 7 </script>