mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
437 B
HTML
22 lines
437 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var frameDoc = document.getElementById("f").contentDocument;
|
||
|
|
||
|
var confusedNode = frameDoc.createTextNode("y");
|
||
|
confusedNode.__proto__ = document.createTextNode("x");
|
||
|
confusedNode.setUserData("key", "data", null);
|
||
|
confusedNode.setUserData("key", "data", null);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();">
|
||
|
<iframe src="data:text/html,1" id="f"></iframe>
|
||
|
</body>
|
||
|
</html>
|