summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/732870.html
blob: bd827bcb36e24d6583848777c48e4e7feb71c41f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>

function boom()
{
  var frameDoc = document.getElementById("f").contentDocument;
  var elem = frameDoc.documentElement;
  elem.dataset;
  document.adoptNode(elem);
  frameDoc.write("0");
  frameDoc.close();
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="boom();">
<iframe id="f" src="data:text/html,1"></iframe>
</body>
</html>