aroben@apple.com | b4e1061 | 2010-11-03 17:32:56 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <script> |
rniwa@webkit.org | 5cf7fa8 | 2012-06-15 07:38:37 +0000 | [diff] [blame] | 5 | if (window.testRunner) |
| 6 | testRunner.dumpAsText(); |
aroben@apple.com | b4e1061 | 2010-11-03 17:32:56 +0000 | [diff] [blame] | 7 | </script> |
| 8 | </head> |
| 9 | <body> |
| 10 | <div> |
| 11 | <embed id=testPlugin type="application/x-webkit-test-netscape" src="data:text/plain," test="evaluate-js-after-removing-plugin-element"></embed> |
| 12 | </div> |
| 13 | <p>This tests that we don't crash when a plugin removes itself from the document and then executes JavaScript.</p> |
| 14 | </body> |
| 15 | </html> |