Web Animations: Don't set compositor pending when document has been detached
[blink.git] / ManualTests / inspector-wrappers / inspector-hasAttributes.html
blob1fdf51a21454732b5a549e08888d76ec85998ac1
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);
13 document.body.firstChild.hasAttributes = attackfunc;
14 document.body.hasAttributes = attackfunc;
15 document.body.parentNode.hasAttributes = attackfunc;
16 </script>
17 </body>
18 </html>