mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
WebAudio: Avoid throwing exception for stubbed setValueAtTime
Instead, just log an error and continue on gracefully, returning an instance of ourselves as spec'd.
This commit is contained in:
parent
a51095f705
commit
52be4925bc
Notes:
github-actions[bot]
2024-07-24 09:15:43 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/52be4925bc3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/800
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<AudioParam>> AudioParam::set_value_at_time(
|
|||
{
|
||||
(void)value;
|
||||
(void)start_time;
|
||||
return WebIDL::NotSupportedError::create(realm(), "FIXME: Implement AudioParam::set_value_at_time"_fly_string);
|
||||
dbgln("FIXME: Implement AudioParam::set_value_at_time");
|
||||
return JS::NonnullGCPtr<AudioParam> { *this };
|
||||
}
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#dom-audioparam-linearramptovalueattime
|
||||
|
|
Loading…
Reference in a new issue