blob: d9387120fb036565e3b94467965affd8ac5e3b6a [file] [log] [blame]
<html>
<head>
<title>Crash page</title>
<script>
var observer = new PerformanceObserver(() => {});
function disconnectObserver() {
observer.disconnect();
testRunner.notifyDone();
}
function beginFetch() {
fetch('http://localhost/not-exists.jpg').catch(disconnectObserver);
}
function navigate() {
window.addEventListener("unload", beginFetch);
location.assign("about:blank");
};
testRunner.dumpAsText();
testRunner.setCustomTextOutput("");
testRunner.waitUntilDone();
</script>
</head>
<body onload="navigate()">
<p>This page will try to crash the renderer</p>
</body>
</html>