Changeset 236648 in webkit
- Timestamp:
- Sep 30, 2018 3:07:45 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r236643 r236648 1 2018-09-30 Walker Henderson <wjahenderson@gmail.com> 2 3 AudioNode.connect should return passed destination node 4 https://bugs.webkit.org/show_bug.cgi?id=188834 5 6 Reviewed by Eric Carlson. 7 8 * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-return-value-expected.txt: 9 1 10 2018-09-29 Oriol Brufau <obrufau@igalia.com> 2 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-return-value-expected.txt
r230353 r236648 1 1 2 FAIL connect should return the node connected to. assert_equals: expected (object) object "[object GainNode]" but got (undefined) undefined 2 PASS connect should return the node connected to. 3 3 -
trunk/Source/WebCore/ChangeLog
r236646 r236648 1 2018-09-30 Walker Henderson <wjahenderson@gmail.com> 2 3 AudioNode.connect should return passed destination node 4 https://bugs.webkit.org/show_bug.cgi?id=188834 5 6 Reviewed by Eric Carlson. 7 8 No new tests, rebaselined existing test. 9 10 * Modules/webaudio/AudioBasicInspectorNode.cpp: 11 (WebCore::AudioBasicInspectorNode::connect): Deleted. 12 * Modules/webaudio/AudioBasicInspectorNode.h: 13 * Modules/webaudio/AudioNode.cpp: 14 * Modules/webaudio/AudioNode.h: 15 * Modules/webaudio/AudioNode.idl: 16 1 17 2018-09-30 Eric Carlson <eric.carlson@apple.com> 2 18 -
trunk/Source/WebCore/Modules/webaudio/AudioBasicInspectorNode.cpp
r207672 r236648 50 50 } 51 51 52 ExceptionOr< void> AudioBasicInspectorNode::connect(AudioNode& destination, unsigned outputIndex, unsigned inputIndex)52 ExceptionOr<AudioNode&> AudioBasicInspectorNode::connect(AudioNode& destination, unsigned outputIndex, unsigned inputIndex) 53 53 { 54 54 ASSERT(isMainThread()); -
trunk/Source/WebCore/Modules/webaudio/AudioBasicInspectorNode.h
r207672 r236648 38 38 private: 39 39 void pullInputs(size_t framesToProcess) override; 40 ExceptionOr< void> connect(AudioNode&, unsigned outputIndex, unsigned inputIndex) override;40 ExceptionOr<AudioNode&> connect(AudioNode&, unsigned outputIndex, unsigned inputIndex) override; 41 41 ExceptionOr<void> disconnect(unsigned outputIndex) override; 42 42 void checkNumberOfChannelsForInput(AudioNodeInput*) override; -
trunk/Source/WebCore/Modules/webaudio/AudioNode.cpp
r233122 r236648 123 123 } 124 124 125 ExceptionOr< void> AudioNode::connect(AudioNode& destination, unsigned outputIndex, unsigned inputIndex)125 ExceptionOr<AudioNode&> AudioNode::connect(AudioNode& destination, unsigned outputIndex, unsigned inputIndex) 126 126 { 127 127 ASSERT(isMainThread()); … … 145 145 context().incrementConnectionCount(); 146 146 147 return { };147 return destination; 148 148 } 149 149 -
trunk/Source/WebCore/Modules/webaudio/AudioNode.h
r233650 r236648 124 124 125 125 // Called from main thread by corresponding JavaScript methods. 126 virtual ExceptionOr< void> connect(AudioNode&, unsigned outputIndex, unsigned inputIndex);126 virtual ExceptionOr<AudioNode&> connect(AudioNode&, unsigned outputIndex, unsigned inputIndex); 127 127 ExceptionOr<void> connect(AudioParam&, unsigned outputIndex); 128 128 virtual ExceptionOr<void> disconnect(unsigned outputIndex); -
trunk/Source/WebCore/Modules/webaudio/AudioNode.idl
r222429 r236648 35 35 attribute DOMString channelInterpretation; 36 36 37 [MayThrowException] voidconnect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0);37 [MayThrowException] AudioNode connect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0); 38 38 [MayThrowException] void connect(AudioParam destination, optional unsigned long output = 0); 39 39 [MayThrowException] void disconnect(optional unsigned long output = 0);
Note: See TracChangeset
for help on using the changeset viewer.