summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/web/09_file.js2
-rw-r--r--tools/wpt/expectation.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/web/09_file.js b/ext/web/09_file.js
index 516e80adf..43d9ffcb3 100644
--- a/ext/web/09_file.js
+++ b/ext/web/09_file.js
@@ -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) {
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index d2c5a3194..827fc9ee5 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -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",