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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audionode.html

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: More fixes based on reviewer comments. Created 4 years 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/audionode.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/audionode.html b/third_party/WebKit/LayoutTests/webaudio/audionode.html
index 31686b7a24cffb133732081e8a5c290b6d663384..9723df1d0556aef0445007ce6ce907f209fb5330 100644
--- a/third_party/WebKit/LayoutTests/webaudio/audionode.html
+++ b/third_party/WebKit/LayoutTests/webaudio/audionode.html
@@ -69,11 +69,7 @@ function runTest() {
}
// 3-arg AudioContext doesn't create an offline context anymore.
- shouldNotThrow("context3 = new AudioContext(1, 44100, 44100)");
- if (context3 instanceof OfflineAudioContext)
- testFailed("context3 should not be an OfflineAudioContext");
- else
- testPassed("context3 is not an OfflineAudioContext");
+ shouldThrow("context3 = new AudioContext(1, 44100, 44100)");
// Ensure it is an EventTarget
try {

Powered by Google App Engine
This is Rietveld 408576698