gecko-dev/dom/base/crashtests/324871-1.html

14 строки
268 B
HTML

<html>
<head>
<script>
function loaded() {
var node = document;
var handler = function(operation, key, data, src, dst) { alert(data); };
node.setUserData("foo", "data", handler);
}
</script>
</head>
<body onload="loaded();">
<div id="elem"></div>
</body>
</html>