| OLD | NEW |
| 1 | 1 |
| 2 This page tests invoking as functions JavaScript objects that are provided by pl
ugins. | 2 This page tests invoking as functions JavaScript objects that are provided by pl
ugins. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS successfullyParsed is true |
| 8 |
| 9 TEST COMPLETE |
| 7 FAIL typeof(pluginWithInvokeDefault) should be function. Was object. | 10 FAIL typeof(pluginWithInvokeDefault) should be function. Was object. |
| 8 PASS pluginWithInvokeDefault() is 1 | 11 PASS pluginWithInvokeDefault() is 1 |
| 9 PASS typeof(pluginWithoutInvokeDefault) is 'object' | 12 PASS typeof(pluginWithoutInvokeDefault) is 'object' |
| 10 PASS pluginWithoutInvokeDefault() threw exception Error: Error calling method on
NPObject.. | 13 PASS pluginWithoutInvokeDefault() threw exception Error: Error calling method on
NPObject.. |
| 11 | 14 |
| OLD | NEW |