blob: 7b400a134411326cc4b30040047ae26b778a12a4 [file] [log] [blame]
// We want to be able to run these tests with chrome that only supports the prefixed
// AudioContext. This is useful in case a regression has occurred.
if (window.hasOwnProperty('webkitAudioContext') &&
!window.hasOwnProperty('AudioContext')) {
window.AudioContext = webkitAudioContext;
window.OfflineAudioContext = webkitOfflineAudioContext;
console.log("Using deprecated prefixed AudioContext or OfflineAudioContext");
}