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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)
Patch Set: Rebase and fix up histograms.xml Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html b/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html
index a8e5a9735c2cbb73752aaf2b9e142bef9d383d97..2d5585c7277f45afb12cf8151e06e9f41945b7a8 100644
--- a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html
+++ b/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html
@@ -42,10 +42,13 @@ function runTest() {
shouldThrow("context.createBuffer(0, 1, context.sampleRate)");
// Invalid sample rate: NotSupportedError
shouldThrow("context.createBuffer(1, 1, 1)");
+ shouldThrow("context.createBuffer(1, 1, 2999)");
+ shouldThrow("context.createBuffer(1, 1, 384001)");
shouldThrow("context.createBuffer(1, 1, 1e6)");
// Check valid values from crbug.com/344375
shouldNotThrow("context.createBuffer(1, 1, 3000)");
shouldNotThrow("context.createBuffer(1, 1, 192000)");
+ shouldNotThrow("context.createBuffer(1, 1, 384000)");
// Invalid number of frames: NotSupportedError
shouldThrow("context.createBuffer(1, 0, context.sampleRate)");
// 2-arg createBuffer not allowed.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698