blob: b002b16c704f3997e5715bea25f3b623750098f6 [file] [log] [blame]
// This will prevent work to update tests to use unprefixed objects in
// the future. It wll also make it possible to bisect builds using
// a WebKit that only supports prefixed objects.
if (window.hasOwnProperty('webkitAudioContext') && !window.hasOwnProperty('AudioContext')) {
window.AudioContext = webkitAudioContext;
window.OfflineAudioContext = webkitOfflineAudioContext;
}