Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audioworklet/audioworkletnode-basic.html

Issue 2793593002: AudioWorklet prototype
Patch Set: Merge changes, AudioParam bug fix Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/audioworklet/audioworkletnode-basic.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/audioworklet/audioworkletnode-basic.html b/third_party/WebKit/LayoutTests/webaudio/audioworklet/audioworkletnode-basic.html
new file mode 100644
index 0000000000000000000000000000000000000000..092d5958d75d90ed64d38368118a491863b75e9a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/webaudio/audioworklet/audioworkletnode-basic.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html>
+<head>
+ <title>AudioWorklet Test</title>
+</head>
+
+<body>
+ <script type="text/javascript">
+ window.audioWorklet.addModule('bypass.js').then(function() {
+ let context = new AudioContext();
+ let osc = new OscillatorNode(context);
+ let bypass = new AudioWorkletNode(context, 'bypass');
+ osc.connect(bypass).connect(context.destination);
+ osc.start();
+ osc.stop(3);
+ });
+ </script>
+</body>
+
+</html>

Powered by Google App Engine
This is Rietveld 408576698