Bug 827541 follow-up: Make sure that the test case actually instantiates an AudioContext object the first time, as opposed to just access the constructor function through a property access

This commit is contained in:
Ehsan Akhgari 2013-01-15 01:15:25 -05:00
parent e8e9da730d
commit 3c00b9a104

View File

@ -13,7 +13,7 @@
var iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
document.body.appendChild(iframe);
var frameWin = iframe.contentWindow;
frameWin.mozAudioContext;
frameWin.mozAudioContext();
document.body.removeChild(iframe);
frameWin.mozAudioContext();