diff options
Diffstat (limited to 'dom/base/crashtests/822691.html')
-rw-r--r-- | dom/base/crashtests/822691.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/base/crashtests/822691.html b/dom/base/crashtests/822691.html new file mode 100644 index 000000000..8bc8eb831 --- /dev/null +++ b/dom/base/crashtests/822691.html @@ -0,0 +1,21 @@ +<!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> |