blob: 93635ea85eb024ee8a88f91eacbca0f5690ba426 [file] [log] [blame]
ap@apple.coma8234e12010-03-18 22:42:16 +00001<html>
2<body>
3<embed name="plg" type="application/x-webkit-test-netscape"></embed>
4<p>Test that a plug-in can override Node methods of its element. This also means that the plug-in
5is instantiated when accessing properties and methods of its owner element.</p>
6<p>Should alert PASS.</p>
7<script>
rniwa@webkit.org5cf7fa82012-06-15 07:38:37 +00008 if (window.testRunner)
9 testRunner.dumpAsText();
ap@apple.coma8234e12010-03-18 22:42:16 +000010
11 function pluginCallback() { alert("PASS") }
12
13 try {
14 plg.normalize();
15 } catch (ex) {
16 alert("Exception: " + ex.description + ". Test plugin was not found");
17 }
18</script>
19</body>
20</html>