Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / webaudio / oscillator-sine.html
index 2d6fedb..4d716ed 100644 (file)
@@ -18,10 +18,10 @@ See oscillator-testing.js for details.
 window.onload = init;
 
 function init() {
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
 
-    generateExponentialOscillatorSweep(OSC.SINE);
+    generateExponentialOscillatorSweep("sine");
 }
 
 </script>