Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / webaudio / audiocontext-max-contexts.html
blob256f237a4ec003a11b2ba9c330bceb4e453a35f4
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script>
6 </head>
7 <body>
8 <script>
9 description("Check that the AudioContext constructor throws when the limit on hardware contexts is reached.");
11 function reachHardwareContextsLimit() {
12 var context = [];
13 for (var i=0; i<10; ++i)
14 context[i] = new AudioContext();
17 shouldThrow("reachHardwareContextsLimit()");
18 </script>
19 </body>
20 </html>