Re: [w3c/FileAPI] Consider adding `blob.dataUrl()` method, or some other analogue to `readAsDataURL` (Issue #179)

Agreed, it would be great to add it to `Body` as well for consistency. That said, I don't think it'd be a good reason to hold this back if for some reason there were stakeholders that (for some reason) didn't want consistency here and were holding it back. So long as we don't go through any one-way doors that would prevent eventual consistency in the future, I think it's fine.

Going by those usage numbers `readAsDataURL`, devs want `Blob.dataUrl` a lot more than `Blob.arrayBuffer/text`, so if those existing methods are justified despite a current lack of consistency between `Body` and `Blob`, then I think `Blob.dataUrl` is more than justified.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/179#issuecomment-1216002919
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/issues/179/1216002919@github.com>

Received on Tuesday, 16 August 2022 00:10:53 UTC