Web Animations: Don't set compositor pending when document has been detached
[blink.git] / ManualTests / resources / liveconnect-security-exception-popup.html
blobcea621bf9c7b931007ee04bb46b65d8d6aa83784
1 <html>
2 <head>
3 <!--
4 Sorry for the hackery in this test. Currently, we have no elegant way to
5 catch Java errors and print out an intelligent response.
6 -->
8 <title>popup window</title>
9 <script>
10 function print(message) {
11 var paragraph = document.createElement("p");
12 paragraph.appendChild(document.createTextNode(message));
13 document.getElementById("console").appendChild(paragraph);
16 function test() {
17 if (window.layoutTestController) {
18 layoutTestController.dumpAsText();
21 print(
22 "applet.field returned " +
23 document.getElementById('applet').field
26 document.getElementById('applet').field += 1;
27 print(
28 "incremented applet.field by 1"
31 print(
32 "applet.field returned " +
33 document.getElementById('applet').field
36 print(
37 "applet.method() returned " +
38 document.getElementById('applet').method()
41 </script>
42 </head>
43 <body onload="test();">
44 <applet id='applet' code="TestApplet.class" codebase="."></applet>
45 <div id='console'/>
46 </body>
47 </html>