mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement SourceBuffer.abort()
This is used by YouTube occasionally when seeking, and if it doesn't do its job, the player gets stuck.
This commit is contained in:
committed by
Gregory Bertilson
parent
459578c280
commit
60302b9750
Notes:
github-actions[bot]
2026-04-01 07:55:50 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/60302b9750e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8655 Reviewed-by: https://github.com/tcl3
@@ -52,6 +52,9 @@ public:
|
||||
// https://w3c.github.io/media-source/#addsourcebuffer-method
|
||||
WebIDL::ExceptionOr<void> append_buffer(GC::Root<WebIDL::BufferSource> const&);
|
||||
|
||||
// https://w3c.github.io/media-source/#dom-sourcebuffer-abort
|
||||
WebIDL::ExceptionOr<void> abort();
|
||||
|
||||
// https://w3c.github.io/media-source/#dom-sourcebuffer-changetype
|
||||
WebIDL::ExceptionOr<void> change_type(String const& type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user