Web Animations: Don't set compositor pending when document has been detached
[blink.git] / ManualTests / inspector-wrappers / console-alert-this.html
blob4b803268cf9b1e7eb41b76bd00fab22250c3f04c
1 <html>
2 <head>
3 <script src="inspector-wrappers-test-utils.js"></script>
4 <script>
5 window.alert = function(consolePanel) {
6 var _addMessage = consolePanel.addMessage;
7 consolePanel.addMessage = function() {
8 doAttack(consolePanel.addMessage);
9 consolePanel.addMessage = _addMessage;
12 </script>
13 </head>
14 <body>
15 <script>instructions({console: true, trigger: "alert(this)"});</script>
16 </body>
17 </html>