https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7ab96ca42be6ce12b7bf98088d5d154f8f15be59 authored by Morten Stenshorne on 05 April 2018, 06:52:57 UTC
Out-of-flow descendants may still be part of the flow thread.
Tip revision: 7ab96ca
idl.html
<!doctype html>
<meta charset=utf-8>
<title>IDL harness tests for Vibration API</title>
<body>
    <h1>Description</h1>
    <p>
      This test validates the IDL defined by the Vibration API.
    </p>
    <p>
      This test uses <a href="/resources/idlharness.js">idlharness.js</a>
    </p>
<div id="log"></div>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/resources/WebIDLParser.js></script>
<script src=/resources/idlharness.js></script>
<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']});
idl_array.test();
</script>
back to top