From 0ce7202a706c9036eeea42c158f433c2b7940457 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Thu, 3 Mar 2022 22:36:23 +0900 Subject: Migrate CompatibilityTable to Compat macro (es) (#4355) * Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es) --- files/es/web/api/blob/index.html | 78 +---------------------------------- files/es/web/api/blob/type/index.html | 52 +---------------------- 2 files changed, 2 insertions(+), 128 deletions(-) (limited to 'files/es/web/api/blob') diff --git a/files/es/web/api/blob/index.html b/files/es/web/api/blob/index.html index 2ee7811292..1a5c42f53e 100644 --- a/files/es/web/api/blob/index.html +++ b/files/es/web/api/blob/index.html @@ -100,83 +100,7 @@ reader.readAsArrayBuffer(blob);

Compatibilidad de navegadores

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Soporte básico541011.105.1
slice()10 {{property_prefix("webkit")}}‡
- 21
5 {{ property_prefix("moz") }}‡
- 13
10125.1 (534.29) {{ property_prefix("webkit") }}
Blob() constructor20{{ CompatGeckoDesktop("13.0") }}1012.106 (536.10)
-
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("13.0") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

Notas en implementaciones del método slice()

- -

El método slice() ha tomado inicialmente length como el segundo argumento para indicar el número de bytes para copiar en el nuevo Blob. Si usted especificó valores como start + length excediento el tamaño del Blob de origen, el Blob retornado contendrá los datos a partir del índice de inicio hasta el final del Blob de origen.

- -

Esa versión del método slice() fué implementada en Firefox 4, WebKit, y Opera 11.10. Sin embargo, desde que la sintaxis ha diferido desde  Array.slice() y String.slice(), Gecko y WebKit removieron este soporte y agregaron soporte  para la nueva sintaxis como {{ manch("mozSlice") }}/Blob.webkitSlice.

- -

Comenzando en Gecko 13.0 {{ geckoRelease("13.0") }} y Chrome 21, {{ manch("slice") }} no se encuentra más prefijado. El soporte para mozSlice() ha sido eliminado en Gecko 30.0 {{ geckoRelease("30.0") }}.‡

- -

Notas de Gecko

- -

Antes de Gecko 12.0 {{ geckoRelease("12.0") }}, existía un error que afectaba el comportamiento de {{ manch("slice") }}; No funcionaba para las posiciones start and end por fuera del rango de valores de 64 bits con signo; Ha sido ahora arreglado para soportar valores de 64 bits sin signo.

+{{Compat("api.Blob")}}

Disponilidad del alcance del código en Chrome

diff --git a/files/es/web/api/blob/type/index.html b/files/es/web/api/blob/type/index.html index 73dc045027..a9b12cbc66 100644 --- a/files/es/web/api/blob/type/index.html +++ b/files/es/web/api/blob/type/index.html @@ -62,57 +62,7 @@ for (i = 0; i < files.length; i++) {

Compatibilidad con browsers

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
File.type5{{CompatVersionUnknown}}{{CompatGeckoDesktop("2")}}10.011.105.1
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
File.type{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat("api.Blob.type")}}

Ver también

-- cgit v1.2.3-54-g00ecf