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

Side by Side Diff: LayoutTests/webaudio/delaynode-maxdelaylimit-expected.txt

Issue 138943003: Check for NaN when creating a DelayNode for WebAudio (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
1 Tests attribute and maximum allowed delay of DelayNode. 1 Tests attribute and maximum allowed delay of DelayNode.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS context.createDelay(180) threw exception NotSupportedError: Failed to execu te 'createDelay' on 'AudioContext': max delay time (180) must be between 0 and 1 80, exclusive.. 5 PASS context.createDelay(180) threw exception NotSupportedError: Failed to execu te 'createDelay' on 'AudioContext': max delay time (180) must be between 0 and 1 80, exclusive..
6 PASS context.createDelay(0) threw exception NotSupportedError: Failed to execute 'createDelay' on 'AudioContext': max delay time (0) must be between 0 and 180, exclusive.. 6 PASS context.createDelay(0) threw exception NotSupportedError: Failed to execute 'createDelay' on 'AudioContext': max delay time (0) must be between 0 and 180, exclusive..
7 PASS context.createDelay(-1) threw exception NotSupportedError: Failed to execut e 'createDelay' on 'AudioContext': max delay time (-1) must be between 0 and 180 , exclusive.. 7 PASS context.createDelay(-1) threw exception NotSupportedError: Failed to execut e 'createDelay' on 'AudioContext': max delay time (-1) must be between 0 and 180 , exclusive..
8 PASS context.createDelay(NaN) threw exception NotSupportedError: Failed to execu te 'createDelay' on 'AudioContext': max delay time (NaN) must be between 0 and 1 80, exclusive..
8 PASS delay.delayTime.value === 0.5 is true 9 PASS delay.delayTime.value === 0.5 is true
9 PASS Test signal was correctly delayed by 0.5 sec. 10 PASS Test signal was correctly delayed by 0.5 sec.
10 PASS successfullyParsed is true 11 PASS successfullyParsed is true
11 12
12 TEST COMPLETE 13 TEST COMPLETE
13 14
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/delaynode-maxdelaylimit.html ('k') | Source/modules/webaudio/DelayDSPKernel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698