mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
WebAudio: Avoid throwing exception for stubbed AudioNode.connect
This stubs out enough to get https://athenacrisis.com/ far enough to actually load :^)
This commit is contained in:
parent
52be4925bc
commit
52ccd69e49
Notes:
github-actions[bot]
2024-07-24 09:15:38 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/52ccd69e49a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/800
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ AudioNode::~AudioNode() = default;
|
|||
// https://webaudio.github.io/web-audio-api/#dom-audionode-connect
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<AudioNode>> AudioNode::connect(JS::NonnullGCPtr<AudioNode> destination_node, WebIDL::UnsignedLong output, WebIDL::UnsignedLong input)
|
||||
{
|
||||
(void)destination_node;
|
||||
(void)output;
|
||||
(void)input;
|
||||
return WebIDL::NotSupportedError::create(realm(), "FIXME: Implement AudioNode::connect (AudioNode)"_fly_string);
|
||||
dbgln("FIXME: Implement AudioNode::connect (AudioNode)");
|
||||
return destination_node;
|
||||
}
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#dom-audionode-connect-destinationparam-output
|
||||
|
|
Loading…
Reference in a new issue