Implement Blob methods (text/arraybuffer) and async file read method

This commit is contained in:
Kunal Mohan 2020-01-12 23:27:59 +05:30
parent 1b7223a284
commit 9859410193
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
8 changed files with 188 additions and 115 deletions

View file

@ -16,6 +16,9 @@ interface Blob {
Blob slice(optional [Clamp] long long start,
optional [Clamp] long long end,
optional DOMString contentType);
[NewObject] Promise<DOMString> text();
[NewObject] Promise<ArrayBuffer> arrayBuffer();
};
dictionary BlobPropertyBag {