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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fixes to WebAudioDeviceImpl unit test. Created 3 years, 10 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/AudioNode/audionode.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioNode/audionode.html b/third_party/WebKit/LayoutTests/webaudio/AudioNode/audionode.html
index 89d637fed2b203dfff78032aac9959e63e4c12b3..e7339116e4738649f04236a2e807f0e90af75db4 100644
--- a/third_party/WebKit/LayoutTests/webaudio/AudioNode/audionode.html
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioNode/audionode.html
@@ -68,14 +68,11 @@ audit.define('test', function(task, should) {
'Connecting a node to a different context')
.throw('InvalidAccessError');
+ // 3-arg AudioContext doesn't create an offline context anymore.
should(
() => context3 = new AudioContext(1, 44100, 44100),
'context3 = new AudioContext(1, 44100, 44100)')
- .notThrow();
- should(
- context3 instanceof OfflineAudioContext,
- 'context3 instanceof OfflineAudioContext')
- .beFalse();
+ .throw('TypeError');
// Ensure it is an EventTarget
should(audioNode instanceof EventTarget, 'AudioNode is an EventTarget')
@@ -85,7 +82,6 @@ audit.define('test', function(task, should) {
});
audit.run();
-
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698