TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The state of binary data in the browser

24 点作者 nolanl大约 10 年前

1 comment

KwanEsq大约 10 年前
&gt;Firefox, conversely, doesn&#x27;t have the canvas.toBlob() method, so if you want to convert a canvas to a Blob, you need to use canvas.toDataURL() and convert the dataURL to a Blob instead. blob-util does this under the hood.<p>I don&#x27;t know where they are getting this. Firefox proposed[1] the toBlob() method, and implemented[2] it in Fx19.<p>[1] <a href="https:&#x2F;&#x2F;lists.w3.org&#x2F;Archives&#x2F;Public&#x2F;public-whatwg-archive&#x2F;2011Apr&#x2F;0132.html" rel="nofollow">https:&#x2F;&#x2F;lists.w3.org&#x2F;Archives&#x2F;Public&#x2F;public-whatwg-archive&#x2F;2...</a><p>[2] <a href="https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=648610" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=648610</a>
评论 #9444068 未加载