mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/FileAPI: Update Blob.slice for spec changes
This commit is contained in:
parent
181ece4d9c
commit
9650a5ff33
Notes:
github-actions[bot]
2024-08-23 11:09:18 +00:00
Author: https://github.com/jamierocks
Commit: 9650a5ff33
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1164
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 47 additions and 26 deletions
|
@ -67,6 +67,8 @@ protected:
|
|||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Blob>> slice_blob(Optional<i64> start = {}, Optional<i64> end = {}, Optional<String> const& content_type = {});
|
||||
|
||||
ByteBuffer m_byte_buffer {};
|
||||
String m_type {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue