mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
LibWeb: Make FileAPI::Blob::create() buffer/type overload infallible
This commit is contained in:
parent
54a987ad45
commit
c7c6d7d9e1
3 changed files with 3 additions and 3 deletions
|
@ -33,8 +33,8 @@ class Blob : public Bindings::PlatformObject {
|
|||
public:
|
||||
virtual ~Blob() override;
|
||||
|
||||
static JS::NonnullGCPtr<Blob> create(HTML::Window&, ByteBuffer, String type);
|
||||
static DOM::ExceptionOr<JS::NonnullGCPtr<Blob>> create(HTML::Window&, Optional<Vector<BlobPart>> const& blob_parts = {}, Optional<BlobPropertyBag> const& options = {});
|
||||
static DOM::ExceptionOr<JS::NonnullGCPtr<Blob>> create(HTML::Window&, ByteBuffer, String type);
|
||||
static DOM::ExceptionOr<JS::NonnullGCPtr<Blob>> create_with_global_object(HTML::Window&, Optional<Vector<BlobPart>> const& blob_parts = {}, Optional<BlobPropertyBag> const& options = {});
|
||||
|
||||
// https://w3c.github.io/FileAPI/#dfn-size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue