summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/1680418.html
blob: ccebe0ed33894e11c84e002660876ba008bdc49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html class="reftest-wait">
<script>
window.addEventListener("hashchange", function() {
  document.documentElement.removeAttribute("class");
});

async function runTest() {
  document.getElementById("a").click();
  await new Promise(resolve => setTimeout(resolve, 0));
  document.location.hash = "#foo";
}
</script>
<body onload="runTest()">
<a id='a' type='text/html' href='telnet://'>
</body>
</html>