CalmBit · GitHub

Merged

Merged

Conversation

Closed

5 tasks

@teoli2003 teoli2003 added the data:api

Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

label

Feb 10, 2018

Elchi3

},
"chrome": {
"version_added": "5",
"notes": "A version of <code>slice()</code> taking the length as second argument was implemented in <a href='http://trac.webkit.org/changeset/55670'>WebKit</a> and <a href='http://www.opera.com/docs/specs/presto28/file/#blob'>Opera 11.10</a>. However, since that syntax differed from <a href='/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice'><code>Array.slice()</code></a> and <a href='/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice'><code>String.slice()</code></a>, WebKit removed support and added support for the new syntax as <a href='http://trac.webkit.org/changeset/83873'><code>Blob.webkitSlice()</code></a>."
"safari": {
"version_added": "5.1",
"prefix": "webkit",
"notes": "This was implemented in <a href='http://trac.webkit.org/changeset/83873'>534.29</a>."
"version_added": "5",
"version_removed": "21",
"prefix": "webkit",
"notes": "The <code>slice()</code> method had initially taken <code>length</code> as the second argument to indicate the number of bytes to include in the new <code>Blob</code>. If you specified values such that <code>start + length</code> exceeded the size of the source <code>Blob</code>, the returned <code>Blob</code> contained data from the start index to the end of the source <code>Blob</code>.&nbsp;That version of the <code>slice()</code> was implemented in <a href='https://hg.mozilla.org/mozilla-central/rev/1b3947ed93c6'>Firefox 4</a>, <a href='http://trac.webkit.org/changeset/55670'>WebKit</a>, and <a href='http://www.opera.com/docs/specs/presto28/file/#blob'>Opera 11.10</a>. However, since that syntax is differed from <a href='/en-US/JavaScript/Reference/Global_Objects/Array/slice'><code>Array.slice()</code></a> and <a href='/en-US/JavaScript/Reference/Global_Objects/String/slice'><code>String.slice()</code></a>, Gecko and WebKit removed support and added support for the new syntax as <code>Blob.slice()</code>/<a href='http://trac.webkit.org/changeset/83873'><code>Blob.webkitSlice</code></a>."

@Elchi3

@CalmBit

dontcallmedom pushed a commit to dontcallmedom/browser-compat-data that referenced this pull request

Mar 17, 2018

Labels

data:api

Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Read the original on github.com ↗