Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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" srcdoc="<html>1</html>"></iframe>
</body>
</html>