[GTK][WPE] Add content extensions support in WKTR and unskip layout tests
[WebKit-https.git] / LayoutTests / webaudio / createMediaStreamSource-null.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="resources/audio-testing.js"></script>
6 </head>
7 <body>
8 <script>
9 description("Tests that passing null to context.createMediaStreamSource() throws a TypeError.");
10
11 var context = new webkitAudioContext();
12 shouldThrow("context.createMediaStreamSource(null)", "'TypeError: Argument 1 (\\'mediaStream\\') to webkitAudioContext.createMediaStreamSource must be an instance of MediaStream'");
13
14 </script>
15 <script src="../resources/js-test-post.js"></script>
16 </body>
17 </html>