mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Remove OOM error propagation from HTMLMediaElement (and friends)
This commit is contained in:
parent
dd16ea87c3
commit
13422b5116
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/trflynn89
Commit: 13422b5116
Pull-request: https://github.com/SerenityOS/serenity/pull/24121
Reviewed-by: https://github.com/awesomekling ✅
7 changed files with 15 additions and 22 deletions
|
@ -19,7 +19,7 @@ class AudioTrackList final : public DOM::EventTarget {
|
|||
JS_DECLARE_ALLOCATOR(AudioTrackList);
|
||||
|
||||
public:
|
||||
ErrorOr<void> add_track(Badge<HTMLMediaElement>, JS::NonnullGCPtr<AudioTrack>);
|
||||
void add_track(Badge<HTMLMediaElement>, JS::NonnullGCPtr<AudioTrack>);
|
||||
void remove_all_tracks(Badge<HTMLMediaElement>);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#dom-audiotracklist-length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue