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 typeof(pluginWithInvokeDefault) is 'function' | 7 FAIL typeof(pluginWithInvokeDefault) should be function. Was object. |
8 PASS pluginWithInvokeDefault() is 1 | 8 PASS pluginWithInvokeDefault() is 1 |
9 PASS typeof(pluginWithoutInvokeDefault) is 'object' | 9 PASS typeof(pluginWithoutInvokeDefault) is 'object' |
10 PASS pluginWithoutInvokeDefault() threw exception TypeError: '[object HTMLEmbedE
lement]' is not a function (evaluating 'pluginWithoutInvokeDefault()'). | 10 FAIL pluginWithoutInvokeDefault() should throw an exception. Was undefined. |
11 | 11 |
OLD | NEW |