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:
Zaggy1024
2026-03-27 03:15:17 -05:00
committed by Gregory Bertilson
parent 459578c280
commit 60302b9750
Notes: github-actions[bot] 2026-04-01 07:55:50 +00:00
3 changed files with 48 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ interface SourceBuffer : EventTarget {
attribute EventHandler onabort;
undefined appendBuffer(BufferSource data);
[FIXME] undefined abort();
undefined abort();
undefined changeType(DOMString type);
[FIXME] undefined remove(double start, unrestricted double end);
};