Update web-platform-tests to revision 9659a35d816ff1b32835a2eccf3e0117dea4e5ce

This commit is contained in:
WPT Sync Bot 2018-02-26 20:17:41 -05:00
parent 6df0dc5b27
commit 4f0af2af66
54 changed files with 1873 additions and 137 deletions

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<!--
Verifies GainNode attributes and their type.
-->
<html>
<head>
<title>
gain-basic.html
</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/webaudio/resources/audit-util.js"></script>
<script src="/webaudio/resources/audit.js"></script>
</head>
<body>
<script id="layout-test-code">
let audit = Audit.createTaskRunner();
audit.define('test', function(task, should) {
// Create audio context.
let context = new AudioContext();
// Create gain node.
let gainNode = context.createGain();
should(
gainNode.gain instanceof AudioParam,
'gainNode.gain instanceof AudioParam')
.beTrue();
task.done();
});
audit.run();
</script>
</body>
</html>