Closed kumarharsh closed 6 years ago
@kumarharsh Care to open a pull request? Thanks!
Sure. I was confused because there had been no discussion regarding this property earlier, so wanted a confirmation if this was an oversight or intentional.
More relevant sources (for documentation):
It's unclear if this property is there on safari, and on which version. Some of the code has landed in changesets atleast an year ago, but I can't find definitive detail about it:
Edge has this prefixed, which AFAICT is the same as IE10:
partial interface HTMLCanvasElement
{
[Extension] Blob msToBlob();
};
@dstorey thanks. I saw that in MDN, but forgot to check it in Edge and thus missed it in the PR. Updated now.
The Edge platform status website is not even tracking the
toBlob
method on canvas objects. Here is the relevant W3C Spec: https://www.w3.org/TR/html50/scripting-1.html#dom-canvas-toblob and the MDN documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlobSurprisingly, it was there in IE10 from what I see in MDN, but then removed from Edge/IE11. All other browsers support it.