gecko-dev/dom/ipc/tests/file_cancel_content_js.html
Jim Porter fab76875af Bug 1493225, part 4 - Cancel content JS when navigating through history to prevent hangs r=smaug
Add tests to verify the behavior of the previous patches.

Differential Revision: https://phabricator.services.mozilla.com/D27370

--HG--
extra : moz-landing-system : lando
2019-04-30 23:32:01 +00:00

20 lines
325 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>while(true)</title>
<script>
</script>
<style>
</style>
</head>
<body>
Try to go back to the initial page.
<script>
const start = Date.now();
setTimeout(function() {
while (Date.now() - start < 3000);
}, 500);
</script>
</body>
</html>