3 <script src="inspector-wrappers-test-utils.js"></script>
6 <script>instructions({trigger: "Collapse and expand the <body/> tag"});</script>
8 _hasAttributes = document.body.hasAttributes;
9 attackfunc = function() {
10 try { doAttack(); } catch(ex) { }
11 return _hasAttributes.call(this);
13 document.body.firstChild.hasAttributes = attackfunc;
14 document.body.hasAttributes = attackfunc;
15 document.body.parentNode.hasAttributes = attackfunc;