Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: LayoutTests/webaudio/resources/compatibility.js

Issue 208943004: Update WebAudio layout tests to use unprefixed AudioContext. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add console.log to compatibility.js Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // We want to be able to run these tests with chrome that only supports the pref ixed
2 // AudioContext. This is useful in case a regression has occurred.
3
4 if (window.hasOwnProperty('webkitAudioContext') &&
5 !window.hasOwnProperty('AudioContext')) {
6 window.AudioContext = webkitAudioContext;
7 window.OfflineAudioContext = webkitOfflineAudioContext;
8 console.log("Using deprecated prefixed AudioContext or OfflineAudioContext") ;
9 }
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/resources/audioparam-testing.js ('k') | LayoutTests/webaudio/resources/oscillator-testing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698