| <title>IDL harness tests for Vibration API</title> |
| This test validates the IDL defined by the Vibration API. |
| This test uses <a href="/resources/idlharness.js">idlharness.js</a> |
| <script src=/resources/testharness.js></script> |
| <script src=/resources/testharnessreport.js></script> |
| <script src=/resources/WebIDLParser.js></script> |
| <script src=/resources/idlharness.js></script> |
| var idl_array = new IdlArray(); |
| idl_array.add_untested_idls("interface Navigator {};"); |
| idl_array.add_idls("partial interface Navigator { boolean vibrate ((unsigned long or sequence<unsigned long>) pattern);};"); |
| idl_array.add_objects({Navigator: ['navigator']}); |