blob: 1fdf51a21454732b5a549e08888d76ec85998ac1 [file] [log] [blame]
<html>
<head>
<script src="inspector-wrappers-test-utils.js"></script>
</head>
<body>
<script>instructions({trigger: "Collapse and expand the &lt;body/&gt; tag"});</script>
<script>
_hasAttributes = document.body.hasAttributes;
attackfunc = function() {
try { doAttack(); } catch(ex) { }
return _hasAttributes.call(this);
}
document.body.firstChild.hasAttributes = attackfunc;
document.body.hasAttributes = attackfunc;
document.body.parentNode.hasAttributes = attackfunc;
</script>
</body>
</html>