| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 function runTest() | 5 function runTest() |
| 6 { | 6 { |
| 7 // Make the plugin retrieve a DOM element to itself. This exercises | 7 // Make the plugin retrieve a DOM element to itself. This exercises |
| 8 // https://bugs.webkit.org/show_bug.cgi?id=80428 | 8 // https://bugs.webkit.org/show_bug.cgi?id=80428 |
| 9 document.getElementById("testPlugin").testDOMAccess(); | 9 document.getElementById("testPlugin").testDOMAccess(); |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 } | 39 } |
| 40 if (window.testRunner) { | 40 if (window.testRunner) { |
| 41 testRunner.dumpAsText(); | 41 testRunner.dumpAsText(); |
| 42 testRunner.notifyDone(); | 42 testRunner.notifyDone(); |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 </script> | 46 </script> |
| 47 </head> | 47 </head> |
| 48 <body onload="runTest();"> | 48 <body onload="runTest();"> |
| 49 <p>This page tests reloading a Netscape plug-in that accesses its own DOM elemen
t. See https://bugs.webkit.org/show_bug.cgi?id=80428, "HTMLPluginElement is not
destroyed on reload or navigation if getNPObject is called". | 49 <p>This page tests reloading a Netscape plugin that accesses its own DOM element
. See https://bugs.webkit.org/show_bug.cgi?id=80428, "HTMLPluginElement is not d
estroyed on reload or navigation if getNPObject is called". |
| 50 | 50 |
| 51 If it succeeds, you should see SUCCESS below. | 51 If it succeeds, you should see SUCCESS below. |
| 52 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei
ght="200"></embed> | 52 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei
ght="200"></embed> |
| 53 <div id="result">FAILURE</div> | 53 <div id="result">FAILURE</div> |
| 54 </body> | 54 </body> |
| 55 </html> | 55 </html> |
| OLD | NEW |