Add webidl for Blob arraybuffer / text (#2008)

This commit is contained in:
Bennett Hardwick
2020-02-20 01:11:03 +10:00
committed by GitHub
parent 7db01a7c7c
commit 9d55978af5
4 changed files with 72 additions and 0 deletions

View File

@ -28,6 +28,9 @@ interface Blob {
Blob slice([Clamp] optional long long start,
[Clamp] optional long long end,
optional DOMString contentType);
[NewObject] Promise<DOMString> text();
[NewObject] Promise<ArrayBuffer> arrayBuffer();
};
enum EndingTypes { "transparent", "native" };