tizen beta release
[profile/ivi/webkit-efl.git] / ManualTests / inspector-wrappers / inspector-hasAttributes.html
1 <html>
2 <head>
3 <script src="inspector-wrappers-test-utils.js"></script>
4 </head>
5 <body>
6 <script>instructions({trigger: "Collapse and expand the &lt;body/&gt; tag"});</script>
7 <script>
8   _hasAttributes = document.body.hasAttributes;
9   attackfunc = function() { 
10     try { doAttack(); } catch(ex) { }
11     return _hasAttributes.call(this);
12   }
13   document.body.firstChild.hasAttributes = attackfunc;
14   document.body.hasAttributes = attackfunc;
15   document.body.parentNode.hasAttributes = attackfunc;
16 </script>
17 </body>
18 </html>