From 9492c3f6c4c58468ea617fbd6a5caa288e5eaaf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20W=C3=A4rting?= Date: Thu, 8 Aug 2019 11:06:16 +0200 Subject: [PATCH 1/3] added new blob reading methods --- api/Blob.json | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) diff --git a/api/Blob.json b/api/Blob.json index 848238adf6c951..e57d8611fa6e7c 100644 --- a/api/Blob.json +++ b/api/Blob.json @@ -257,6 +257,150 @@ "deprecated": false } } + }, + "arrayBuffer": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer", + "support": { + "chrome": { + "version_added": "76" + }, + "chrome_android": { + "version_added": "76" + }, + "edge": { + "version_added": false + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": false + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": null + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "text": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/text", + "support": { + "chrome": { + "version_added": "76" + }, + "chrome_android": { + "version_added": "76" + }, + "edge": { + "version_added": false + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": false + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": null + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "stream": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/stream", + "support": { + "chrome": { + "version_added": "76" + }, + "chrome_android": { + "version_added": "76" + }, + "edge": { + "version_added": false + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": false + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": null + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } } } From 9c7ebd0c7327f3081cfcaeed218b7ec4263faa31 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Thu, 8 Aug 2019 15:41:11 +0200 Subject: [PATCH 2/3] Sort new methods alphabetically --- api/Blob.json | 52 +++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/api/Blob.json b/api/Blob.json index e57d8611fa6e7c..42ac6bc5e161e4 100644 --- a/api/Blob.json +++ b/api/Blob.json @@ -98,36 +98,36 @@ } } }, - "size": { + "arrayBuffer": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/size", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer", "support": { "chrome": { - "version_added": "5" + "version_added": "76" }, "chrome_android": { - "version_added": false + "version_added": "76" }, "edge": { - "version_added": "12" + "version_added": false }, "firefox": { - "version_added": "4" + "version_added": false }, "firefox_android": { "version_added": false }, "ie": { - "version_added": "10" + "version_added": false }, "opera": { - "version_added": "11" + "version_added": false }, "opera_android": { "version_added": false }, "safari": { - "version_added": "5.1" + "version_added": false }, "safari_ios": { "version_added": false @@ -136,19 +136,19 @@ "version_added": false }, "webview_android": { - "version_added": false + "version_added": null } }, "status": { - "experimental": false, + "experimental": true, "standard_track": true, "deprecated": false } } }, - "type": { + "size": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/type", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/size", "support": { "chrome": { "version_added": "5" @@ -258,9 +258,9 @@ } } }, - "arrayBuffer": { + "stream": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/stream", "support": { "chrome": { "version_added": "76" @@ -354,36 +354,36 @@ } } }, - "stream": { + "type": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/stream", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Blob/type", "support": { "chrome": { - "version_added": "76" + "version_added": "5" }, "chrome_android": { - "version_added": "76" + "version_added": false }, "edge": { - "version_added": false + "version_added": "12" }, "firefox": { - "version_added": false + "version_added": "4" }, "firefox_android": { "version_added": false }, "ie": { - "version_added": false + "version_added": "10" }, "opera": { - "version_added": false + "version_added": "11" }, "opera_android": { "version_added": false }, "safari": { - "version_added": false + "version_added": "5.1" }, "safari_ios": { "version_added": false @@ -392,11 +392,11 @@ "version_added": false }, "webview_android": { - "version_added": null + "version_added": false } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } From a312544521a7bd1b77a41994cac95f2d4b615123 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Thu, 8 Aug 2019 15:42:46 +0200 Subject: [PATCH 3/3] Also set webview 76 for arraybuffer, stream, text --- api/Blob.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/Blob.json b/api/Blob.json index 42ac6bc5e161e4..94338225b80410 100644 --- a/api/Blob.json +++ b/api/Blob.json @@ -136,7 +136,7 @@ "version_added": false }, "webview_android": { - "version_added": null + "version_added": "76" } }, "status": { @@ -296,7 +296,7 @@ "version_added": false }, "webview_android": { - "version_added": null + "version_added": "76" } }, "status": { @@ -344,7 +344,7 @@ "version_added": false }, "webview_android": { - "version_added": null + "version_added": "76" } }, "status": {