blob: fc66a22b8e121d3c655246a5a2344b39b6003faf [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
window.addEventListener("message", (e)=>{
var entries = performance.getEntriesByType("resource");
alert(e.data + " " + entries.length + " " + entries[0].name);
if (window.testRunner)
testRunner.notifyDone();
}, false);
</script>
<iframe src="resources/navigate-and-postMessage.html"></iframe>