iOS Simulator results for webaudio tests.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Oct 2014 00:53:24 +0000 (00:53 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Oct 2014 00:53:24 +0000 (00:53 +0000)
* platform/ios-simulator/webaudio/*: Added

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174550 268f45cc-cd09-0410-ab3c-d52691b4dbfc

91 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/platform/ios-simulator/webaudio/analyser-exception-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffer-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffer-neuter-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-channels-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-ended-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-exception-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-comprehensive-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-points-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-multi-channels-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackState-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackrate-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-start-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiochannelmerger-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiochannelmerger-stereo-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audiochannelsplitter-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audionode-channel-rules-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audionode-connect-order-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audionode-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-connect-audioratesignal-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-exponentialRampToValueAtTime-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-linearRampToValueAtTime-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-setTargetAtTime-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-setValueAtTime-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-setValueCurveAtTime-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioparam-summingjunction-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/audioprocessingevent-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/automatic-pull-node-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-allpass-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-bandpass-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-getFrequencyResponse-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-highpass-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-highshelf-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-lowpass-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-lowshelf-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-notch-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquad-peaking-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/biquadfilternode-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/codec-tests/vorbis/vbr-128kbps-44khz-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/codec-tests/vorbis/vbr-96kbps-44khz-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/convolution-mono-mono-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/convolver-setBuffer-null-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/decode-audio-data-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/delaynode-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/delaynode-max-default-delay-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/delaynode-max-nondefault-delay-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/delaynode-maxdelay-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/delaynode-maxdelaylimit-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/delaynode-scheduling-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/distance-exponential-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/distance-inverse-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/distance-linear-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/dynamicscompressor-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/gain-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/gain-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-downmix8-2channel-input-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-upmix2-8channel-input-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-zero-input-channels-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/mediaelementaudiosourcenode-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/mediaelementaudiosourcenode-gc-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/mixing-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/note-grain-on-play-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/note-grain-on-timing-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-custom-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-ended-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-sawtooth-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-sine-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-square-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/oscillator-triangle-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/panner-equalpower-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/panner-equalpower-stereo-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/pannernode-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/realtimeanalyser-fft-scaling-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/realtimeanalyser-fft-sizing-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/sample-accurate-scheduling-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/stereo2mono-down-mixing-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/test-basic-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-51-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-stereo-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/up-mixing-stereo-51-expected.wav [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/waveshaper-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/waveshaper-oversample-2x-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/webaudio/waveshaper-oversample-4x-expected.txt [new file with mode: 0644]

index 16cec2f..7e0343d 100644 (file)
@@ -1,5 +1,11 @@
 2014-10-09  Simon Fraser  <simon.fraser@apple.com>
 
+        iOS Simulator results for webaudio tests.
+
+        * platform/ios-simulator/webaudio/*: Added
+
+2014-10-09  Simon Fraser  <simon.fraser@apple.com>
+
         iOS Simulator results for webarchive tests.
 
         * platform/ios-simulator/webarchive/*: Added
index ef30374..ecf934b 100644 (file)
@@ -47,7 +47,7 @@ touchadjustment
 # ENABLE_VIBRATION - Vibration API is not enabled.
 vibration
 
-
+# canvas
 webkit.org/b/137530 canvas/philip/tests/2d.composite.operation.clear.html [ Failure ]
 webkit.org/b/137530 canvas/philip/tests/2d.composite.operation.darker.html [ Failure ]
 webkit.org/b/137530 canvas/philip/tests/2d.drawImage.animated.poster.html [ Failure ]
@@ -92,3 +92,9 @@ storage/websql/quota-tracking.html [ Skip ]
 webkit.org/b/137574 svg/as-image/svg-nested.html [ Crash ]
 webkit.org/b/137574 svg/dom/SVGAnimatedAngle.html [ Pass Crash ]
 webkit.org/b/137574 svg/css/arrow-with-shadow.svg [ Pass Crash ]
+
+# webaudio
+webaudio/codec-tests/vorbis/vbr-96kbps-44khz.html [ Skip ] # unsupported audio format
+webaudio/mediastreamaudiodestinationnode.html [ Skip ] # don't support context.createMediaStreamDestination
+webaudio/mediastreamaudiosourcenode.html [ Skip ] # don't support getUserMedia
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/analyser-exception-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/analyser-exception-expected.txt
new file mode 100644 (file)
index 0000000..dd3586a
--- /dev/null
@@ -0,0 +1,11 @@
+Tests that AnalyserNode validates minDecibels, maxDecibels and smoothingTimeConstant values.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS analyser.minDecibels = -20 threw exception Error: IndexSizeError: DOM Exception 1.
+PASS analyser.maxDecibels = -120 threw exception Error: IndexSizeError: DOM Exception 1.
+PASS analyser.smoothingTimeConstant = 2 threw exception Error: IndexSizeError: DOM Exception 1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffer-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffer-expected.txt
new file mode 100644 (file)
index 0000000..dbfbbc4
--- /dev/null
@@ -0,0 +1,18 @@
+Basic tests for AudioBuffer.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS sampleRate has been set correctly.
+PASS length has been set correctly.
+PASS duration has been set correctly.
+PASS numberOfChannels has been set correctly.
+PASS getChannelData(0) returns a Float32Array object.
+PASS getChannelData(1) returns a Float32Array object.
+PASS getChannelData(2) returns a Float32Array object.
+PASS getChannelData(3) returns a Float32Array object.
+PASS Exception has been thrown correctly when index is not less than numberOfChannels.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffer-neuter-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffer-neuter-expected.txt
new file mode 100644 (file)
index 0000000..11daa98
--- /dev/null
@@ -0,0 +1,3 @@
+Tests that neutered AudioBuffers do not produce garbage
+PASS Output matches expectations.
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-channels-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-channels-expected.txt
new file mode 100644 (file)
index 0000000..3f93bbb
--- /dev/null
@@ -0,0 +1,18 @@
+Tests that AudioBufferSourceNode validates AudioBuffer in .buffer attribute setter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS source.buffer = 57 threw exception TypeError: Value is not of type AudioBuffer.
+PASS Mono buffer can be set.
+PASS Stereo buffer can be set.
+PASS 3 channels buffer can be set.
+PASS 4 channels buffer can be set.
+PASS 5 channels buffer can be set.
+PASS 6 channels buffer can be set.
+PASS 7 channels buffer can be set.
+PASS 8 channels buffer can be set.
+PASS 9 channels buffer can be set.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-ended-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-ended-expected.txt
new file mode 100644 (file)
index 0000000..eea4615
--- /dev/null
@@ -0,0 +1,3 @@
+Tests that AudioBufferSourceNode calls its onended EventListener.
+PASS source.onended called.
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-exception-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-exception-expected.txt
new file mode 100644 (file)
index 0000000..d78577e
--- /dev/null
@@ -0,0 +1,11 @@
+Tests that AudioBufferSourceNode validates start and stop calls.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS bufferSource.stop(0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS bufferSource.start(0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS bufferSource.stop(0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-expected.wav
new file mode 100644 (file)
index 0000000..ec4af88
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-comprehensive-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-comprehensive-expected.txt
new file mode 100644 (file)
index 0000000..c6ab9ee
--- /dev/null
@@ -0,0 +1,18 @@
+Tests AudioBufferSourceNode looping with a variety of loop points.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS loop whole buffer by default with loopStart == loopEnd == 0
+PASS loop whole buffer explicitly
+PASS loop from middle to end of buffer
+PASS loop from start to middle of buffer
+PASS loop internally from 4 -> 6
+PASS loop internally from 3 -> 7
+PASS loop internally from 4 -> 6 with playbackRate of 0.5
+PASS loop internally from 4 -> 6 with playbackRate of 1.5
+PASS illegal playbackRate of 47 greater than loop length
+PASS illegal loop: loopStartFrame > loopEndFrame
+PASS illegal loop: loopStartFrame == loopEndFrame
+PASS illegal loop: loopStartFrame < 0
+PASS illegal loop: loopEndFrame > bufferLength
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-points-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-points-expected.wav
new file mode 100644 (file)
index 0000000..5c5a797
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-loop-points-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-multi-channels-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-multi-channels-expected.wav
new file mode 100644 (file)
index 0000000..ab9d5fe
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-multi-channels-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackState-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackState-expected.txt
new file mode 100644 (file)
index 0000000..31ae376
--- /dev/null
@@ -0,0 +1,20 @@
+Test AudioContext activeSourceCount and AudioBufferSourceNode playbackState.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendering time is 2 seconds.
+PASS UNSCHEDULED_STATE Source has been created
+PASS SCHEDULED_STATE   3 second source scheduled to start at time 3
+PASS PLAYING_STATE     2 second source starting at time 1
+PASS FINISHED_STATE    1.25 second source starting at time 0
+PASS SCHEDULED_STATE   1 second grain scheduled to start at time 3
+PASS PLAYING_STATE     2 second grain starting at time 0.5
+PASS FINISHED_STATE    1 second grain starting at time 0.5
+PASS SCHEDULED_STATE   a looping 0.5 second source scheduled at time 3
+PASS PLAYING_STATE     a looping 0.5 second source starting at time 1.25
+PASS 3 are currently playing as expected.
+PASS activeSourceCount and playbackState tests succeeded.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackrate-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackrate-expected.wav
new file mode 100644 (file)
index 0000000..08399b4
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-playbackrate-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-start-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiobuffersource-start-expected.txt
new file mode 100644 (file)
index 0000000..0df5315
--- /dev/null
@@ -0,0 +1,10 @@
+Tests AudioBufferSourceNode start() with a variety of offsets and durations.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS start(when): implicitly play whole buffer from beginning to end
+PASS start(when, 0): play whole buffer from beginning to end explicitly giving offset of 0
+PASS start(when, 0, 8_frames): play whole buffer from beginning to end explicitly giving offset of 0 and duration of 8 frames
+PASS start(when, 4_frames): play with explicit non-zero offset
+PASS start(when, 4_frames, 4_frames): play with explicit non-zero offset and duration
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiochannelmerger-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiochannelmerger-basic-expected.txt
new file mode 100644 (file)
index 0000000..e71ed17
--- /dev/null
@@ -0,0 +1,13 @@
+Basic tests for AudioChannelMerger.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Exception was thrown for numberOfInputs <= 0.
+PASS Exception was thrown for numberOfInputs >= 32.
+PASS AudioChannelMerger created successfully with numberOfInputs = 32.
+PASS AudioChannelMerger created successfully with empty parameter.
+PASS ChannelMergerNode Object is available.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiochannelmerger-stereo-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiochannelmerger-stereo-expected.txt
new file mode 100644 (file)
index 0000000..4a1b065
--- /dev/null
@@ -0,0 +1,9 @@
+Tests audio channel merging of two mono streams into a single stereo stream.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Correctly merged from two mono streams to stereo.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audiochannelsplitter-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audiochannelsplitter-expected.txt
new file mode 100644 (file)
index 0000000..2ad4a37
--- /dev/null
@@ -0,0 +1,17 @@
+Tests AudioChannelSplitter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Exception been thrown for numberOfOutputs <= 0.
+PASS Exception been thrown for numberOfOutputs >= 32.
+PASS AudioChannelSplitter created successfully with numberOfOutputs = 32.
+PASS AudioChannelSplitter has 32 outputs when it is created with numberOfOutputs = 32.
+PASS AudioChannelSplitter has one input.
+PASS AudioChannelSplitter created successfully with empty parameter.
+PASS AudioChannelSplitter has 6 outputs when it is created with empty parameter.
+PASS ChannelSplitterNode Object is available.
+PASS Correctly exchanged left and right channels.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audionode-channel-rules-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audionode-channel-rules-expected.txt
new file mode 100644 (file)
index 0000000..b614c5d
--- /dev/null
@@ -0,0 +1,178 @@
+Channel mixing rules for AudioNodes.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS connections: 1, max, speakers
+PASS connections: 2, max, speakers
+PASS connections: 3, max, speakers
+PASS connections: 4, max, speakers
+PASS connections: 5, max, speakers
+PASS connections: 6, max, speakers
+PASS connections: 7, max, speakers
+PASS connections: 8, max, speakers
+PASS connections: 11, max, speakers
+PASS connections: 12, max, speakers
+PASS connections: 14, max, speakers
+PASS connections: 18, max, speakers
+PASS connections: 111, max, speakers
+PASS connections: 122, max, speakers
+PASS connections: 123, max, speakers
+PASS connections: 124, max, speakers
+PASS connections: 128, max, speakers
+PASS connections: 1, clamped-max(4), speakers
+PASS connections: 2, clamped-max(4), speakers
+PASS connections: 3, clamped-max(4), speakers
+PASS connections: 4, clamped-max(4), speakers
+PASS connections: 5, clamped-max(4), speakers
+PASS connections: 6, clamped-max(4), speakers
+PASS connections: 7, clamped-max(4), speakers
+PASS connections: 8, clamped-max(4), speakers
+PASS connections: 11, clamped-max(4), speakers
+PASS connections: 12, clamped-max(4), speakers
+PASS connections: 14, clamped-max(4), speakers
+PASS connections: 18, clamped-max(4), speakers
+PASS connections: 111, clamped-max(4), speakers
+PASS connections: 122, clamped-max(4), speakers
+PASS connections: 123, clamped-max(4), speakers
+PASS connections: 124, clamped-max(4), speakers
+PASS connections: 128, clamped-max(4), speakers
+PASS connections: 1, explicit(1), speakers
+PASS connections: 2, explicit(1), speakers
+PASS connections: 3, explicit(1), speakers
+PASS connections: 4, explicit(1), speakers
+PASS connections: 5, explicit(1), speakers
+PASS connections: 6, explicit(1), speakers
+PASS connections: 7, explicit(1), speakers
+PASS connections: 8, explicit(1), speakers
+PASS connections: 11, explicit(1), speakers
+PASS connections: 12, explicit(1), speakers
+PASS connections: 14, explicit(1), speakers
+PASS connections: 18, explicit(1), speakers
+PASS connections: 111, explicit(1), speakers
+PASS connections: 122, explicit(1), speakers
+PASS connections: 123, explicit(1), speakers
+PASS connections: 124, explicit(1), speakers
+PASS connections: 128, explicit(1), speakers
+PASS connections: 1, explicit(2), speakers
+PASS connections: 2, explicit(2), speakers
+PASS connections: 3, explicit(2), speakers
+PASS connections: 4, explicit(2), speakers
+PASS connections: 5, explicit(2), speakers
+PASS connections: 6, explicit(2), speakers
+PASS connections: 7, explicit(2), speakers
+PASS connections: 8, explicit(2), speakers
+PASS connections: 11, explicit(2), speakers
+PASS connections: 12, explicit(2), speakers
+PASS connections: 14, explicit(2), speakers
+PASS connections: 18, explicit(2), speakers
+PASS connections: 111, explicit(2), speakers
+PASS connections: 122, explicit(2), speakers
+PASS connections: 123, explicit(2), speakers
+PASS connections: 124, explicit(2), speakers
+PASS connections: 128, explicit(2), speakers
+PASS connections: 1, explicit(4), speakers
+PASS connections: 2, explicit(4), speakers
+PASS connections: 3, explicit(4), speakers
+PASS connections: 4, explicit(4), speakers
+PASS connections: 5, explicit(4), speakers
+PASS connections: 6, explicit(4), speakers
+PASS connections: 7, explicit(4), speakers
+PASS connections: 8, explicit(4), speakers
+PASS connections: 11, explicit(4), speakers
+PASS connections: 12, explicit(4), speakers
+PASS connections: 14, explicit(4), speakers
+PASS connections: 18, explicit(4), speakers
+PASS connections: 111, explicit(4), speakers
+PASS connections: 122, explicit(4), speakers
+PASS connections: 123, explicit(4), speakers
+PASS connections: 124, explicit(4), speakers
+PASS connections: 128, explicit(4), speakers
+PASS connections: 1, explicit(6), speakers
+PASS connections: 2, explicit(6), speakers
+PASS connections: 3, explicit(6), speakers
+PASS connections: 4, explicit(6), speakers
+PASS connections: 5, explicit(6), speakers
+PASS connections: 6, explicit(6), speakers
+PASS connections: 7, explicit(6), speakers
+PASS connections: 8, explicit(6), speakers
+PASS connections: 11, explicit(6), speakers
+PASS connections: 12, explicit(6), speakers
+PASS connections: 14, explicit(6), speakers
+PASS connections: 18, explicit(6), speakers
+PASS connections: 111, explicit(6), speakers
+PASS connections: 122, explicit(6), speakers
+PASS connections: 123, explicit(6), speakers
+PASS connections: 124, explicit(6), speakers
+PASS connections: 128, explicit(6), speakers
+PASS connections: 1, max, discrete
+PASS connections: 2, max, discrete
+PASS connections: 3, max, discrete
+PASS connections: 4, max, discrete
+PASS connections: 5, max, discrete
+PASS connections: 6, max, discrete
+PASS connections: 7, max, discrete
+PASS connections: 8, max, discrete
+PASS connections: 11, max, discrete
+PASS connections: 12, max, discrete
+PASS connections: 14, max, discrete
+PASS connections: 18, max, discrete
+PASS connections: 111, max, discrete
+PASS connections: 122, max, discrete
+PASS connections: 123, max, discrete
+PASS connections: 124, max, discrete
+PASS connections: 128, max, discrete
+PASS connections: 1, clamped-max(4), discrete
+PASS connections: 2, clamped-max(4), discrete
+PASS connections: 3, clamped-max(4), discrete
+PASS connections: 4, clamped-max(4), discrete
+PASS connections: 5, clamped-max(4), discrete
+PASS connections: 6, clamped-max(4), discrete
+PASS connections: 7, clamped-max(4), discrete
+PASS connections: 8, clamped-max(4), discrete
+PASS connections: 11, clamped-max(4), discrete
+PASS connections: 12, clamped-max(4), discrete
+PASS connections: 14, clamped-max(4), discrete
+PASS connections: 18, clamped-max(4), discrete
+PASS connections: 111, clamped-max(4), discrete
+PASS connections: 122, clamped-max(4), discrete
+PASS connections: 123, clamped-max(4), discrete
+PASS connections: 124, clamped-max(4), discrete
+PASS connections: 128, clamped-max(4), discrete
+PASS connections: 1, explicit(4), discrete
+PASS connections: 2, explicit(4), discrete
+PASS connections: 3, explicit(4), discrete
+PASS connections: 4, explicit(4), discrete
+PASS connections: 5, explicit(4), discrete
+PASS connections: 6, explicit(4), discrete
+PASS connections: 7, explicit(4), discrete
+PASS connections: 8, explicit(4), discrete
+PASS connections: 11, explicit(4), discrete
+PASS connections: 12, explicit(4), discrete
+PASS connections: 14, explicit(4), discrete
+PASS connections: 18, explicit(4), discrete
+PASS connections: 111, explicit(4), discrete
+PASS connections: 122, explicit(4), discrete
+PASS connections: 123, explicit(4), discrete
+PASS connections: 124, explicit(4), discrete
+PASS connections: 128, explicit(4), discrete
+PASS connections: 1, explicit(8), discrete
+PASS connections: 2, explicit(8), discrete
+PASS connections: 3, explicit(8), discrete
+PASS connections: 4, explicit(8), discrete
+PASS connections: 5, explicit(8), discrete
+PASS connections: 6, explicit(8), discrete
+PASS connections: 7, explicit(8), discrete
+PASS connections: 8, explicit(8), discrete
+PASS connections: 11, explicit(8), discrete
+PASS connections: 12, explicit(8), discrete
+PASS connections: 14, explicit(8), discrete
+PASS connections: 18, explicit(8), discrete
+PASS connections: 111, explicit(8), discrete
+PASS connections: 122, explicit(8), discrete
+PASS connections: 123, explicit(8), discrete
+PASS connections: 124, explicit(8), discrete
+PASS connections: 128, explicit(8), discrete
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audionode-connect-order-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audionode-connect-order-expected.txt
new file mode 100644 (file)
index 0000000..eacdc1d
--- /dev/null
@@ -0,0 +1,8 @@
+This tests that we don't trigger an assertion failure due to AudioNode connection order.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audionode-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audionode-expected.txt
new file mode 100644 (file)
index 0000000..7a3dc3d
--- /dev/null
@@ -0,0 +1,23 @@
+CONSOLE MESSAGE: Deprecated AudioContext constructor: use OfflineAudioContext instead
+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 Source AudioNode has no inputs.
+PASS Source AudioNode has one output.
+PASS Destination AudioNode has one input.
+PASS Destination AudioNode has no outputs.
+PASS connect() exception thrown for illegal destination AudioNode.
+PASS connect() exception thrown for illegal output index.
+PASS connect() exception thrown for illegal input index.
+PASS audioNode.connect(context.destination) succeeded.
+PASS exception thrown when connecting to other context's node.
+PASS exception thrown when creating audio context with not enough arguments.
+PASS AudioNode is an EventTarget
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-connect-audioratesignal-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-connect-audioratesignal-expected.txt
new file mode 100644 (file)
index 0000000..2ce064d
--- /dev/null
@@ -0,0 +1,6 @@
+PASS Rendered signal is of correct length.
+PASS Rendered signal exactly matches the audio-rate gain changing signal.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-exponentialRampToValueAtTime-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-exponentialRampToValueAtTime-expected.txt
new file mode 100644 (file)
index 0000000..6c1fd9d
--- /dev/null
@@ -0,0 +1,11 @@
+Test AudioParam exponentialRampToValueAtTime() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS All 100 tests started and ended at the correct time.
+PASS All 100 tests passed within an acceptable tolerance.
+PASS AudioParam exponentialRampToValueAtTime() test passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-linearRampToValueAtTime-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-linearRampToValueAtTime-expected.txt
new file mode 100644 (file)
index 0000000..45ab57a
--- /dev/null
@@ -0,0 +1,11 @@
+Test AudioParam linearRampToValueAtTime() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS All 100 tests started and ended at the correct time.
+PASS All 100 tests passed within an acceptable tolerance.
+PASS AudioParam linearRampToValueAtTime() test passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-setTargetAtTime-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-setTargetAtTime-expected.txt
new file mode 100644 (file)
index 0000000..4c03a1a
--- /dev/null
@@ -0,0 +1,11 @@
+Test AudioParam setTargetAtTime() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS All 100 tests started and ended at the correct time.
+PASS All 100 tests passed within an acceptable tolerance.
+PASS AudioParam setTargetAtTime() test passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-setValueAtTime-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-setValueAtTime-expected.txt
new file mode 100644 (file)
index 0000000..adbe35c
--- /dev/null
@@ -0,0 +1,11 @@
+Test AudioParam setValueAtTime() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS All 100 tests started and ended at the correct time.
+PASS All 100 tests passed within an acceptable tolerance.
+PASS AudioParam setValueAtTime() test passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-setValueCurveAtTime-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-setValueCurveAtTime-expected.txt
new file mode 100644 (file)
index 0000000..7377bb0
--- /dev/null
@@ -0,0 +1,11 @@
+Test AudioParam setValueCurveAtTime() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS All 20 tests started and ended at the correct time.
+PASS All 20 tests passed within an acceptable tolerance.
+PASS AudioParam setValueCurveAtTime() test passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioparam-summingjunction-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioparam-summingjunction-expected.txt
new file mode 100644 (file)
index 0000000..e528a09
--- /dev/null
@@ -0,0 +1,6 @@
+PASS Rendered signal is of correct length.
+PASS Rendered signal matches sum of two audio-rate gain changing signals plus baseline gain.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/audioprocessingevent-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/audioprocessingevent-expected.txt
new file mode 100644 (file)
index 0000000..88a7013
--- /dev/null
@@ -0,0 +1,11 @@
+Tests AudioProcessingEvent attributes in IDL.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS event.playbackTime is defined.
+PASS event.inputBuffer is defined.
+PASS event.outputBuffer is defined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/automatic-pull-node-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/automatic-pull-node-expected.txt
new file mode 100644 (file)
index 0000000..011db21
--- /dev/null
@@ -0,0 +1,11 @@
+This test verifies that the AudioBasicInspectorNode based nodes work correctly.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS RealtimeAnalyserNode got pulled when connected from upstream node but not to downstream node.
+PASS RealtimeAnalyserNode got pulled when connected from upstream node and to destination node.
+PASS RealtimeAnalyserNode didn't get pulled when it should not.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-allpass-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-allpass-expected.txt
new file mode 100644 (file)
index 0000000..5296132
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad allpass filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Allpass filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-bandpass-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-bandpass-expected.txt
new file mode 100644 (file)
index 0000000..0bb97d4
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad bandpass filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Bandpass filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-getFrequencyResponse-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-getFrequencyResponse-expected.txt
new file mode 100644 (file)
index 0000000..8ee7326
--- /dev/null
@@ -0,0 +1,11 @@
+Test Biquad getFrequencyResponse() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Magnitude response within acceptable threshold.
+PASS Phase response within acceptable threshold.
+PASS Frequency response was correct.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-highpass-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-highpass-expected.txt
new file mode 100644 (file)
index 0000000..f3e6fb5
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad highpass filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Highpass filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-highshelf-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-highshelf-expected.txt
new file mode 100644 (file)
index 0000000..4e86343
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad highshelf filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Highshelf filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-lowpass-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-lowpass-expected.txt
new file mode 100644 (file)
index 0000000..86bf013
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad lowpass filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Lowpass filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-lowshelf-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-lowshelf-expected.txt
new file mode 100644 (file)
index 0000000..97f5002
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad lowshelf filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Lowshelf filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-notch-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-notch-expected.txt
new file mode 100644 (file)
index 0000000..df4635a
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad notch filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Notch filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquad-peaking-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquad-peaking-expected.txt
new file mode 100644 (file)
index 0000000..4e83627
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Biquad peaking filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Rendered output did not have infinities or NaNs.
+PASS Peaking filter response is correct.
+PASS Test signal was correctly filtered.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/biquadfilternode-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/biquadfilternode-basic-expected.txt
new file mode 100644 (file)
index 0000000..a3e1cae
--- /dev/null
@@ -0,0 +1,33 @@
+Basic tests for BiquadFilterNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS BiquadFilterNode has one input.
+PASS BiquadFilterNode has one output.
+PASS Biquad filter defaults to low-pass filter.
+PASS The default value of frequency is 350.
+PASS The default value of Q is 1.
+PASS The default value of gain is 0.
+PASS Biquad filter type 'lowpass' is settable.
+PASS Biquad filter type 'highpass' is settable.
+PASS Biquad filter type 'bandpass' is settable.
+PASS Biquad filter type 'lowshelf' is settable.
+PASS Biquad filter type 'highshelf' is settable.
+PASS Biquad filter type 'peaking' is settable.
+PASS Biquad filter type 'notch' is settable.
+PASS Biquad filter type 'allpass' is settable.
+PASS Biquad filter type 0 is settable using legacy integer value.
+PASS Biquad filter type 1 is settable using legacy integer value.
+PASS Biquad filter type 2 is settable using legacy integer value.
+PASS Biquad filter type 3 is settable using legacy integer value.
+PASS Biquad filter type 4 is settable using legacy integer value.
+PASS Biquad filter type 5 is settable using legacy integer value.
+PASS Biquad filter type 6 is settable using legacy integer value.
+PASS Biquad filter type 7 is settable using legacy integer value.
+PASS Illegal filter type correctly throws exception.
+PASS Setting .type to illegal string value threw TypeError.
+PASS Setting .type to illegal type of Float32Array threw TypeError.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav
new file mode 100644 (file)
index 0000000..42a09d5
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav
new file mode 100644 (file)
index 0000000..072fcc9
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/codec-tests/vorbis/vbr-128kbps-44khz-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/vorbis/vbr-128kbps-44khz-expected.txt
new file mode 100644 (file)
index 0000000..c641ab0
--- /dev/null
@@ -0,0 +1,8 @@
+ALERT: error decoding file data: ../../resources/media/vbr-128kbps-44khz.ogg
+ALERT: BufferLoader: callback problem
+FAIL: Timed out waiting for notifyDone to be called
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x8
+  RenderBlock {HTML} at (0,0) size 800x8
+    RenderBody {BODY} at (8,8) size 784x0
diff --git a/LayoutTests/platform/ios-simulator/webaudio/codec-tests/vorbis/vbr-96kbps-44khz-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/vorbis/vbr-96kbps-44khz-expected.txt
new file mode 100644 (file)
index 0000000..3aea2af
--- /dev/null
@@ -0,0 +1,8 @@
+ALERT: error decoding file data: ../../resources/media/vbr-96kbps-44khz.ogg
+ALERT: BufferLoader: callback problem
+FAIL: Timed out waiting for notifyDone to be called
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x8
+  RenderBlock {HTML} at (0,0) size 800x8
+    RenderBody {BODY} at (8,8) size 784x0
diff --git a/LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav
new file mode 100644 (file)
index 0000000..057bf31
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-44khz-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-44khz-expected.wav
new file mode 100644 (file)
index 0000000..8587908
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/codec-tests/wav/24bit-44khz-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/convolution-mono-mono-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/convolution-mono-mono-expected.txt
new file mode 100644 (file)
index 0000000..3ae2a04
--- /dev/null
@@ -0,0 +1,12 @@
+Tests ConvolverNode processing a mono channel with mono impulse response.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Triangular portion of convolution is correct.
+PASS First part of tail of convolution is sufficiently small.
+PASS Rendered signal after tail of convolution is silent.
+PASS Test signal was correctly convolved.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/convolver-setBuffer-null-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/convolver-setBuffer-null-expected.txt
new file mode 100644 (file)
index 0000000..62c8d7b
--- /dev/null
@@ -0,0 +1,9 @@
+Tests that ConvolverNode impulse response buffer can be set to 0.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS ConvolverNode impulse response buffer was set to 0.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/decode-audio-data-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/decode-audio-data-basic-expected.txt
new file mode 100644 (file)
index 0000000..9b5a628
--- /dev/null
@@ -0,0 +1,12 @@
+Basic tests for decodeAudioData function.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS decodeAudioData raises exception correctly when arraybuffer parameter is null.
+PASS The resources/media/24bit-44khz.wav test: successCallback has been called correctly.
+PASS The resources/media/invalid-audio-file.txt test: errorCallback has been called correctly.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/delaynode-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/delaynode-expected.txt
new file mode 100644 (file)
index 0000000..7242891
--- /dev/null
@@ -0,0 +1,16 @@
+Tests attribute and basic functionality of Delay.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS delay.numberOfInputs === 1 is true
+PASS delay.numberOfOutputs === 1 is true
+PASS delay.delayTime.defaultValue === 0.0 is true
+PASS delay.delayTime.minValue === 0.0 is true
+PASS delay.delayTime.maxValue === 1.0 is true
+PASS delay.delayTime.value === 0.0 is true
+PASS delay.delayTime.value === 0.5 is true
+PASS Test signal was correctly delayed by 0.5 sec.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/delaynode-max-default-delay-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/delaynode-max-default-delay-expected.txt
new file mode 100644 (file)
index 0000000..f022b90
--- /dev/null
@@ -0,0 +1,9 @@
+Tests DelayNode with delay set to default maximum delay.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Test signal was correctly delayed by 1 sec.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/delaynode-max-nondefault-delay-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/delaynode-max-nondefault-delay-expected.txt
new file mode 100644 (file)
index 0000000..13e30f2
--- /dev/null
@@ -0,0 +1,9 @@
+Tests DelayNode with delay set to non-default maximum delay.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Test signal was correctly delayed by 1.5 sec.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/delaynode-maxdelay-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/delaynode-maxdelay-expected.txt
new file mode 100644 (file)
index 0000000..c7b1709
--- /dev/null
@@ -0,0 +1,9 @@
+Tests basic functionality of DelayNode with a non-default max delay time.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Test signal was correctly delayed by 1.5 sec.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/delaynode-maxdelaylimit-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/delaynode-maxdelaylimit-expected.txt
new file mode 100644 (file)
index 0000000..6b3d76b
--- /dev/null
@@ -0,0 +1,13 @@
+Tests attribute and maximum allowed delay of DelayNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS context.createDelay(180) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS context.createDelay(0) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS context.createDelay(-1) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS delay.delayTime.value === 0.5 is true
+PASS Test signal was correctly delayed by 0.5 sec.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/delaynode-scheduling-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/delaynode-scheduling-expected.txt
new file mode 100644 (file)
index 0000000..791ea43
--- /dev/null
@@ -0,0 +1,9 @@
+Tests that DelayNode delayTime parameter can be scheduled at a given time.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Test signal was correctly delayed by 0.5 sec.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/distance-exponential-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/distance-exponential-expected.txt
new file mode 100644 (file)
index 0000000..4902e38
--- /dev/null
@@ -0,0 +1,12 @@
+Test exponential distance model of AudioPannerNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Distance model value matched expected value.
+PASS Number of impulses found matches number of panner nodes.
+PASS Distance gains are correct.
+PASS Distance test passed for distance model 2
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/distance-inverse-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/distance-inverse-expected.txt
new file mode 100644 (file)
index 0000000..65a9492
--- /dev/null
@@ -0,0 +1,12 @@
+Test inverse distance model of AudioPannerNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Distance model value matched expected value.
+PASS Number of impulses found matches number of panner nodes.
+PASS Distance gains are correct.
+PASS Distance test passed for distance model 1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/distance-linear-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/distance-linear-expected.txt
new file mode 100644 (file)
index 0000000..c9d28a9
--- /dev/null
@@ -0,0 +1,12 @@
+Test linear distance model of AudioPannerNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Distance model value matched expected value.
+PASS Number of impulses found matches number of panner nodes.
+PASS Distance gains are correct.
+PASS Distance test passed for distance model 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/dynamicscompressor-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/dynamicscompressor-basic-expected.txt
new file mode 100644 (file)
index 0000000..09c30e6
--- /dev/null
@@ -0,0 +1,13 @@
+Basic tests for DynamicsCompressorNode API.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS threshold attribute has correct default value.
+PASS knee attribute has correct default value.
+PASS ratio attribute has correct default value.
+PASS attack attribute has correct default value.
+PASS release attribute has correct default value.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/gain-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/gain-basic-expected.txt
new file mode 100644 (file)
index 0000000..7b831fb
--- /dev/null
@@ -0,0 +1,10 @@
+Tests GainNode attributes in IDL.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS gain is of AudioParam type.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/gain-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/gain-expected.wav
new file mode 100644 (file)
index 0000000..b445bd8
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/gain-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-downmix8-2channel-input-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-downmix8-2channel-input-expected.txt
new file mode 100644 (file)
index 0000000..9260ede
--- /dev/null
@@ -0,0 +1,9 @@
+Tests downmixing an 8-channel source connected to a JavaScriptAudioNode with 2-channel input.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS onaudioprocess was called with correct input data.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-expected.txt
new file mode 100644 (file)
index 0000000..ed4bf82
--- /dev/null
@@ -0,0 +1,22 @@
+Tests ScriptProcessorNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Exception was thrown when both numberOfInputChannels and numberOfOutputChannels are zero.
+PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 1 and numberOfOutputChannels = 0.
+PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 2 and numberOfOutputChannels = 0.
+PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 0 and numberOfOutputChannels = 1.
+PASS Successfully created ScriptProcessorNode with numberOfInputChannels = 0 and numberOfOutputChannels = 2.
+PASS Exception was thrown for illegal bufferSize.
+PASS Successfully created ScriptProcessorNode with bufferSize = 256.
+PASS Successfully created ScriptProcessorNode with bufferSize = 512.
+PASS Successfully created ScriptProcessorNode with bufferSize = 1024.
+PASS Successfully created ScriptProcessorNode with bufferSize = 2048.
+PASS Successfully created ScriptProcessorNode with bufferSize = 4096.
+PASS Successfully created ScriptProcessorNode with bufferSize = 8192.
+PASS Successfully created ScriptProcessorNode with bufferSize = 16384.
+PASS onaudioprocess was called with correct data.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-upmix2-8channel-input-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-upmix2-8channel-input-expected.txt
new file mode 100644 (file)
index 0000000..a1550d4
--- /dev/null
@@ -0,0 +1,9 @@
+Tests upmixing a 2-channel source connected to a JavaScriptAudioNode with 8-channel input.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS onaudioprocess was called with correct input data.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-zero-input-channels-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/javascriptaudionode-zero-input-channels-expected.txt
new file mode 100644 (file)
index 0000000..cb8c0cd
--- /dev/null
@@ -0,0 +1,10 @@
+Tests that JavaScriptAudioNode accepts 0 input channels.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Successfully created JavaScriptAudioNode.
+PASS JavaScriptAudioNode accepts 0 input channels.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/mediaelementaudiosourcenode-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/mediaelementaudiosourcenode-expected.txt
new file mode 100644 (file)
index 0000000..ec450a0
--- /dev/null
@@ -0,0 +1,15 @@
+Basic tests for MediaElementAudioSourceNode API.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Source AudioNode has no inputs.
+PASS Source AudioNode has one output.
+PASS connect() exception thrown for illegal destination AudioNode.
+PASS connect() exception thrown for illegal output index.
+PASS connect() exception thrown for illegal input index.
+PASS audioNode.connect(context.destination) succeeded.
+PASS createMediaElementSource() threw error when called twice on same HTMLMediaElement.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/mediaelementaudiosourcenode-gc-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/mediaelementaudiosourcenode-gc-expected.txt
new file mode 100644 (file)
index 0000000..25898c5
--- /dev/null
@@ -0,0 +1,9 @@
+Tests garbage collection of MediaElementAudioSourceNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS MediaElementAudioSourceNode survived garbage collection.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/mixing-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/mixing-expected.wav
new file mode 100644 (file)
index 0000000..1f1dffd
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/mixing-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/note-grain-on-play-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/note-grain-on-play-expected.txt
new file mode 100644 (file)
index 0000000..ae7b191
--- /dev/null
@@ -0,0 +1,13 @@
+Test noteGrainOn offset rendering.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Found all 100 grains.
+PASS All 100 grains started at the correct time.
+PASS All 100 grains ended at the correct time.
+PASS All 100 grains contained the correct data.
+PASS noteGrainOn offset rendering tests passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/note-grain-on-timing-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/note-grain-on-timing-expected.txt
new file mode 100644 (file)
index 0000000..9e21b34
--- /dev/null
@@ -0,0 +1,12 @@
+Test timing of noteGrainOn.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Found all 100 grains.
+PASS All 100 grains started at the correct time.
+PASS All 100 grains ended at the correct time.
+PASS noteGrainOn timing tests passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/oscillator-basic-expected.txt
new file mode 100644 (file)
index 0000000..6e5b07c
--- /dev/null
@@ -0,0 +1,21 @@
+Basic test of setting Oscillator node types.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Oscillator correctly set to SINE type.
+PASS Oscillator correctly set to SQUARE type.
+PASS Oscillator correctly set to SAWTOOTH type.
+PASS Oscillator correctly set to TRIANGLE type.
+PASS Oscillator correctly set to SINE type using legacy integer value.
+PASS Oscillator correctly set to SQUARE type using legacy integer value.
+PASS Oscillator correctly set to SAWTOOTH type using legacy integer value.
+PASS Oscillator correctly set to TRIANGLE type using legacy integer value.
+PASS Oscillator correctly set to CUSTOM type using setPeriodicWave.
+PASS Directly setting oscillator type to CUSTOM correctly throws exception.
+PASS Setting oscillator to invalid type 5 correctly throws exception.
+PASS Setting .type to illegal string value threw TypeError.
+PASS Setting .type to illegal type of Float32Array threw TypeError.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-custom-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/oscillator-custom-expected.wav
new file mode 100644 (file)
index 0000000..75ad713
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/oscillator-custom-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-ended-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/oscillator-ended-expected.txt
new file mode 100644 (file)
index 0000000..9fa4769
--- /dev/null
@@ -0,0 +1,3 @@
+Tests that OscillatorNode calls its onended EventListener.
+PASS osc.onended called.
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-sawtooth-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/oscillator-sawtooth-expected.wav
new file mode 100644 (file)
index 0000000..84406e4
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/oscillator-sawtooth-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-sine-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/oscillator-sine-expected.wav
new file mode 100644 (file)
index 0000000..3f5b82d
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/oscillator-sine-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-square-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/oscillator-square-expected.wav
new file mode 100644 (file)
index 0000000..85a9adc
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/oscillator-square-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/oscillator-triangle-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/oscillator-triangle-expected.wav
new file mode 100644 (file)
index 0000000..324b8b3
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/oscillator-triangle-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/panner-equalpower-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/panner-equalpower-expected.txt
new file mode 100644 (file)
index 0000000..cbda404
--- /dev/null
@@ -0,0 +1,13 @@
+Test equal-power panner model of AudioPannerNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Number of impulses matches the number of panner nodes.
+PASS All impulses at expected offsets.
+PASS Left channel gain values are correct.
+PASS Right channel gain values are correct.
+PASS EqualPower panner test passed
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/panner-equalpower-stereo-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/panner-equalpower-stereo-expected.txt
new file mode 100644 (file)
index 0000000..5987c72
--- /dev/null
@@ -0,0 +1,13 @@
+Test equal-power panner model of AudioPannerNode with stereo source.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Number of impulses matches the number of panner nodes.
+PASS All impulses at expected offsets.
+PASS Left channel gain values are correct.
+PASS Right channel gain values are correct.
+PASS EqualPower panner test passed
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/pannernode-basic-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/pannernode-basic-expected.txt
new file mode 100644 (file)
index 0000000..ceef78b
--- /dev/null
@@ -0,0 +1,36 @@
+Basic tests for PannerNode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS PannerNode has one input.
+PASS PannerNode has one output.
+PASS refDistance default value is 1.
+PASS refDistance value is set to 270.52.
+PASS maxDistance default value is 10000.
+PASS maxDistance value is set to 100.55.
+PASS rolloffFactor default value is 1.
+PASS rolloffFactor value is set to 0.83.
+PASS coneInnerAngle default value is 360.
+PASS coneInnerAngle value is set to 240.45.
+PASS coneOuterAngle default value is 360.
+PASS coneOuterAngle value is set to 166.66.
+PASS coneOuterGain default value is 0.
+PASS coneOuterGain value is set to 0.35.
+PASS PannerNode defaults to 'HRTF' panningModel.
+PASS PannerNode defaults to 'inverse' distanceModel.
+PASS panningModel: 'equalpower' is settable.
+PASS panningModel: 'HRTF' is settable.
+PASS panningModel: 0 is settable using legacy integer value.
+PASS panningModel: 1 is settable using legacy integer value.
+PASS distanceModel: 'linear' is settable.
+PASS distanceModel: 'inverse' is settable.
+PASS distanceModel: 'exponential' is settable.
+PASS distanceModel: 0 is settable using legacy integer value.
+PASS distanceModel: 1 is settable using legacy integer value.
+PASS distanceModel: 2 is settable using legacy integer value.
+PASS Setting .type to illegal string value threw TypeError.
+PASS Setting .type to illegal type of Float32Array threw TypeError.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/realtimeanalyser-fft-scaling-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/realtimeanalyser-fft-scaling-expected.txt
new file mode 100644 (file)
index 0000000..442de87
--- /dev/null
@@ -0,0 +1,30 @@
+Test scaling of FFT data for AnalyserNode
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Actual FFT peak in the expected position (1)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 32
+PASS Actual FFT peak in the expected position (2)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 64
+PASS Actual FFT peak in the expected position (4)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 128
+PASS Actual FFT peak in the expected position (8)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 256
+PASS Actual FFT peak in the expected position (16)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 512
+PASS Actual FFT peak in the expected position (32)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 1024
+PASS Actual FFT peak in the expected position (64)
+PASS Peak value is near 0 dBFS as expected
+PASS Analyser correctly scaled FFT data of size 2048
+PASS All Analyser tests passed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/realtimeanalyser-fft-sizing-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/realtimeanalyser-fft-sizing-expected.txt
new file mode 100644 (file)
index 0000000..3f40ff9
--- /dev/null
@@ -0,0 +1,46 @@
+Test that re-sizing the FFT arrays does not fail.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Exception thrown for illegal fftSize -1.
+PASS Exception thrown for illegal fftSize 0.
+PASS Exception thrown for illegal fftSize 1.
+PASS Exception thrown for illegal fftSize 2.
+PASS Exception thrown for illegal fftSize 3.
+PASS Exception thrown for illegal fftSize 4.
+PASS Exception thrown for illegal fftSize 5.
+PASS Exception thrown for illegal fftSize 8.
+PASS Exception thrown for illegal fftSize 9.
+PASS Exception thrown for illegal fftSize 16.
+PASS Exception thrown for illegal fftSize 17.
+PASS Successfully set legal fftSize 32.
+PASS Exception thrown for illegal fftSize 33.
+PASS Successfully set legal fftSize 64.
+PASS Exception thrown for illegal fftSize 65.
+PASS Successfully set legal fftSize 128.
+PASS Exception thrown for illegal fftSize 129.
+PASS Successfully set legal fftSize 256.
+PASS Exception thrown for illegal fftSize 257.
+PASS Successfully set legal fftSize 512.
+PASS Exception thrown for illegal fftSize 513.
+PASS Successfully set legal fftSize 1024.
+PASS Exception thrown for illegal fftSize 1025.
+PASS Successfully set legal fftSize 2048.
+PASS Exception thrown for illegal fftSize 2049.
+PASS Exception thrown for illegal fftSize 4096.
+PASS Exception thrown for illegal fftSize 4097.
+PASS Exception thrown for illegal fftSize 8192.
+PASS Exception thrown for illegal fftSize 8193.
+PASS Exception thrown for illegal fftSize 16384.
+PASS Exception thrown for illegal fftSize 16385.
+PASS Exception thrown for illegal fftSize 32768.
+PASS Exception thrown for illegal fftSize 32769.
+PASS Exception thrown for illegal fftSize 65536.
+PASS Exception thrown for illegal fftSize 65537.
+PASS Exception thrown for illegal fftSize 131072.
+PASS Exception thrown for illegal fftSize 131073.
+PASS webkitAudioContext survived multiple invalid FFT array resizings.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/sample-accurate-scheduling-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/sample-accurate-scheduling-expected.txt
new file mode 100644 (file)
index 0000000..fc10155
--- /dev/null
@@ -0,0 +1,10 @@
+Tests sample-accurate scheduling.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Expected number of events found.
+PASS All events rendered with sample-accuracy.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/stereo2mono-down-mixing-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/stereo2mono-down-mixing-expected.txt
new file mode 100644 (file)
index 0000000..96b28cc
--- /dev/null
@@ -0,0 +1,9 @@
+This test verifies whether down mixing from stereo to mono will cause assertion error.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS Test no ASSERT error.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/test-basic-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/test-basic-expected.wav
new file mode 100644 (file)
index 0000000..88df283
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/test-basic-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-51-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-51-expected.wav
new file mode 100644 (file)
index 0000000..2caf9f5
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-51-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-stereo-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-stereo-expected.wav
new file mode 100644 (file)
index 0000000..a60c9b4
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/up-mixing-mono-stereo-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/up-mixing-stereo-51-expected.wav b/LayoutTests/platform/ios-simulator/webaudio/up-mixing-stereo-51-expected.wav
new file mode 100644 (file)
index 0000000..383d030
Binary files /dev/null and b/LayoutTests/platform/ios-simulator/webaudio/up-mixing-stereo-51-expected.wav differ
diff --git a/LayoutTests/platform/ios-simulator/webaudio/waveshaper-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/waveshaper-expected.txt
new file mode 100644 (file)
index 0000000..d815493
--- /dev/null
@@ -0,0 +1,9 @@
+Tests that WaveShaperNode applies proper non-linear distortion.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS WaveShaperNode properly applied non-linear distortion.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/waveshaper-oversample-2x-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/waveshaper-oversample-2x-expected.txt
new file mode 100644 (file)
index 0000000..ffa3eab
--- /dev/null
@@ -0,0 +1,9 @@
+Tests 2x WaveShaperNode oversampling.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS 2x WaveShaperNode oversampling within acceptable tolerance.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/ios-simulator/webaudio/waveshaper-oversample-4x-expected.txt b/LayoutTests/platform/ios-simulator/webaudio/waveshaper-oversample-4x-expected.txt
new file mode 100644 (file)
index 0000000..c67d821
--- /dev/null
@@ -0,0 +1,9 @@
+Tests 4x WaveShaperNode oversampling.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS 4x WaveShaperNode oversampling within acceptable tolerance.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+