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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/resources/compatibility.js

Issue 2599873003: Remove compatibility.js from WebAudio tests (Closed)
Patch Set: Rebasing Created 3 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/resources/compatibility.js
diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/compatibility.js b/third_party/WebKit/LayoutTests/webaudio/resources/compatibility.js
deleted file mode 100644
index 7b400a134411326cc4b30040047ae26b778a12a4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/resources/compatibility.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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");
-}

Powered by Google App Engine
This is Rietveld 408576698