mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
431 B
HTML
24 lines
431 B
HTML
|
<!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>
|