1<html>
2<head>
3<title>NPN_Invoke() test</title>
4</head>
5<body>
6
7<object width="0" height="0" type="test/npn-invoke">
8  <!-- Fallback content to describe how to run the test -- />
9  <p>You do not have the &quot;NPN_Invoke&quot; plugin installed.  Before you run this test:</p>
10  <ol>
11    <li>Build the included Xcode project, &quot;NPN_Invoke.xcodeproj&quot;.</li>
12    <li>Copy the built plugin (NPN_Invoke.plugin) to /Library/Internet Plug-Ins.</li>
13    <li>Restart Safari.</li>
14  </ol>
15</object>
16
17<p>This tests NPN_Invoke(), part of the Netscape Plugin API scripting interface.</p>
18<p>To verify, you must run this test with JavaScript enabled and then repeat the test with JavaScript disabled.</p>
19
20<h4>JavaScript enabled</h4>
21<p style="color: green">Success: An alert dialog is shown with the message &quot;Success!&quot;</p>
22<p style="color: red">Failure: No alert dialog is shown, or the message is not &quot;Success!&quot;</p>
23
24<h4>JavaScript disabled</h4>
25<p style="color: green">Success: No alert dialog is shown, and Safari remains open (does not crash).</p>
26<p style="color: red">Failure: An alert dialog is shown, or Safari crashes.</p>
27
28</body>
29</html>
30