Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / webaudio / context-properties.html
blob0caf4c9c97f4a193f7984c3ffe1185e3577cca34
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/compatibility.js"></script>
5 <script src="../resources/js-test.js"></script>
6 </head>
8 <body>
9 <script>
10 description("Tests audio context for offline attributes and methods.");
12 function runTest() {
13 // Create an online and offline context for testing.
14 onlineContext = new AudioContext();
15 offlineContext = new OfflineAudioContext(1, 1000, 44100);
17 // The online context cannot have oncomplete and startRendering
18 shouldBeUndefined("onlineContext.oncomplete");
19 shouldBeUndefined("onlineContext.startRendering");
21 // The offline context must have oncomplete and startRendering
22 shouldBeDefined("offlineContext.oncomplete");
23 shouldBeDefined("offlineContext.startRendering");
27 runTest();
28 successfullyParsed = true;
29 </script>
31 </body>
32 </html>