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

Unified Diff: LayoutTests/webaudio/audionode-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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: LayoutTests/webaudio/audionode-expected.txt
diff --git a/LayoutTests/webaudio/audionode-expected.txt b/LayoutTests/webaudio/audionode-expected.txt
index 7a3dc3d4409730dc7b49de8a1c6a41616b485ee5..b4d24a6ada573b5d4e82222e3d26952d4026edd5 100644
--- a/LayoutTests/webaudio/audionode-expected.txt
+++ b/LayoutTests/webaudio/audionode-expected.txt
@@ -3,9 +3,9 @@ Basic tests for AudioNode API.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS audioNode.noteOn() threw exception TypeError: Not enough arguments.
-PASS audioNode.noteGrainOn() threw exception TypeError: Not enough arguments.
-PASS audioNode.noteOff() threw exception TypeError: Not enough arguments.
+PASS audioNode.noteOn() threw exception TypeError: Failed to execute 'noteOn' on 'AudioBufferSourceNode': 1 argument required, but only 0 present..
+PASS audioNode.noteGrainOn() threw exception TypeError: Failed to execute 'noteGrainOn' on 'AudioBufferSourceNode': 3 arguments required, but only 0 present..
+PASS audioNode.noteOff() threw exception TypeError: Failed to execute 'noteOff' on 'AudioBufferSourceNode': 1 argument required, but only 0 present..
PASS Source AudioNode has no inputs.
PASS Source AudioNode has one output.
PASS Destination AudioNode has one input.

Powered by Google App Engine
This is Rietveld 408576698