mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix: Blob#slice arguments should be optional (#11665)
This commit is contained in:
parent
7d55e05486
commit
eae9d5b647
2 changed files with 1 additions and 2 deletions
|
@ -220,7 +220,7 @@
|
|||
* @param {string} [contentType]
|
||||
* @returns {Blob}
|
||||
*/
|
||||
slice(start, end, contentType) {
|
||||
slice(start = undefined, end = undefined, contentType = undefined) {
|
||||
webidl.assertBranded(this, Blob);
|
||||
const prefix = "Failed to execute 'slice' on 'Blob'";
|
||||
if (start !== undefined) {
|
||||
|
|
|
@ -16443,7 +16443,6 @@
|
|||
"filereader_result.any.html": true
|
||||
},
|
||||
"idlharness.any.html": [
|
||||
"Blob interface: operation slice(optional long long, optional long long, optional DOMString)",
|
||||
"FileList interface: existence and properties of interface object",
|
||||
"FileList interface object length",
|
||||
"FileList interface object name",
|
||||
|
|
Loading…
Reference in a new issue