Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

es: Update browser compat/spec sections (part 1) #11609

Merged
merged 4 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions files/es/conflicting/web/api/element/click_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: GlobalEventHandlers.onclick
slug: conflicting/Web/API/Element/click_event
original_slug: Web/API/GlobalEventHandlers/onclick
browser-compat: api.Element.click_event
---

{{ ApiRef("HTML DOM") }}
Expand Down Expand Up @@ -69,6 +70,6 @@ Solo se puede asignar un controlador `click` a un objeto a la vez con esta propi

{{Specifications}}

## Compatibilidad de Navegadores
## Compatibilidad con navegadores

{{Compat("api.GlobalEventHandlers.onclick")}}
{{Compat}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: GlobalEventHandlers.onkeydown
slug: conflicting/Web/API/Element/keydown_event
original_slug: Web/API/GlobalEventHandlers/onkeydown
browser-compat: api.Element.keydown_event
---

{{ApiRef("HTML DOM")}}
Expand All @@ -24,4 +25,4 @@ El evento `keydown` se lanza cuando el usuario presiona una tecla.

## Compatibilidad con navegadores

{{Compat("api.GlobalEventHandlers.onkeydown")}}
{{Compat}}
3 changes: 2 additions & 1 deletion files/es/conflicting/web/api/element/keyup_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: GlobalEventHandlers.onkeyup
slug: conflicting/Web/API/Element/keyup_event
original_slug: Web/API/GlobalEventHandlers/onkeyup
browser-compat: api.Element.keyup_event
---

{{ApiRef("HTML DOM")}}
Expand Down Expand Up @@ -31,4 +32,4 @@ El evento keyup se lanza cuando el usuario suelta la tecla que ha sido presionad

## Compatibilidad con navegadores

{{Compat("api.GlobalEventHandlers.onkeyup")}}
{{Compat}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: GlobalEventHandlers.onchange
slug: conflicting/Web/API/HTMLElement/change_event
original_slug: Web/API/GlobalEventHandlers/onchange
browser-compat: api.HTMLElement.change_event
---

{{ ApiRef("HTML DOM") }}
Expand All @@ -27,6 +28,6 @@ Mira la documentación para el evento [`change`](/es/docs/Web/Reference/Events/c

{{Specifications}}

## Compatibilidad de navegadores
## Compatibilidad con navegadores

{{Compat("api.GlobalEventHandlers.onchange")}}
{{Compat}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: GlobalEventHandlers.oninput
slug: conflicting/Web/API/HTMLElement/input_event
original_slug: Web/API/GlobalEventHandlers/oninput
browser-compat: api.HTMLElement.input_event
---

{{ ApiRef("HTML DOM") }}
Expand All @@ -26,11 +27,11 @@ window.addEventListener('input', function (e) {

## Especificaciones

[HTML - APIs de elementos de entrada comunes (`input`)](http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input)
{{Specifications}}

## Compatibilidad con navegadores

{{Compat("api.GlobalEventHandlers.oninput")}}
{{Compat}}

## Vea también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Window.onbeforeunload
slug: conflicting/Web/API/Window/beforeunload_event
original_slug: Web/API/WindowEventHandlers/onbeforeunload
browser-compat: api.Window.beforeunload_event
---

{{ApiRef}}
Expand Down Expand Up @@ -36,14 +37,14 @@ Desde el 25 de mayo de 2011, los estados de la [especificación HTML5](http://ww

Se _puede_ y se _debería_ controlar este evento con {{domxref("EventTarget.addEventListener","window.addEventListener()")}} y el [evento `beforeunload`](/es/docs/Mozilla_event_reference/beforeunload) (más información en los enlaces).

## Compatibilidad con los navegadores

{{Compat("api.WindowEventHandlers.onbeforeunload")}}

## Especificaciones

{{Specifications}}

## Compatibilidad con navegadores

{{Compat}}

## Ver también

- [MSDN: evento onbeforeunload](<http://msdn.microsoft.com/en-us/library/ms536907(VS.85).aspx>) (en inglés)
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: WindowEventHandlers.onhashchange
slug: conflicting/Web/API/Window/hashchange_event
original_slug: Web/API/WindowEventHandlers/onhashchange
browser-compat: api.Window.hashchange_event
---

{{APIRef("HTML DOM")}}
Expand Down Expand Up @@ -60,6 +61,6 @@ El evento `hashchange` enviado, tiene los siguientes campos:

{{Specifications}}

## Compatibilidad en navegadores
## Compatibilidad con navegadores

{{Compat("api.WindowEventHandlers.onhashchange")}}
{{Compat}}
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ alpha.toSource();
//devuelve ['a', 'b', 'c']
```

## Especificaciones

No hace parte de ningún estándar. Implementado en JavaScript 1.3.

## Compatibilidad con navegadores

{{Compat("javascript.builtins.Array.toSource")}}

## Ver también

- {{jsxref("Object.prototype.toSource()")}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ donde estos atributos corresponden a las propiedades respectivas de la instancia

> **Nota:** Ten en cuenta que las propiedades utilizadas por el método `toSource` en la creación de esta cadena son mutables y es posible que no reflejen con precisión la función utilizada para crear una instancia de `error` o el nombre de archivo o número de línea donde ocurrió un error real.

## Especificaciones

No forma parte de ningún estándar.

## Compatibilidad del navegador

{{Compat("javascript.builtins.Error.toSource")}}

## Ve también

- {{JSxRef("Error.prototype.fileName")}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ El método `toSource` devuelve los siguientes valores:

Éste método es usado de forma interna por JavaScript y no explicitamente desde el código. Puedes usar `toSource` mientras depuras para examinar el contenido de un objeto.

## Especificaciones

No está reflejado en ningún estándar. Implementaso en JavaScript 1.3.

## Browser compatibility

{{Compat("javascript.builtins.Function.toSource")}}

## Ver también

- {{jsxref("Object.prototype.toSource()")}}
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,6 @@ theDog.toSource();
// returns ({name:"Gabby", breed:"Lab", color:"chocolate", sex:"female"})
```

## Especificaciones

No es parte de ningún estándar. Implementado en JavaScript 1.3.

## Compatibilidad en navegadores

{{Compat("javascript.builtins.Object.toSource")}}

## Ver también

- {{jsxref("Object.prototype.toString()")}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: String.prototype.toSource()
slug: conflicting/Web/JavaScript/Reference/Global_Objects/String/toString
original_slug: Web/JavaScript/Reference/Global_Objects/String/toSource
browser-compat: javascript.builtins.String.toString
---

{{JSRef}} {{non-standard_header}}
Expand Down Expand Up @@ -37,11 +38,11 @@ Este método usualmente es llamado internamente por JavaScript y no explícitame

## Especificaciones

No es parte de ningún estándar. Implementado en JavaScript 1.3.
{{Specifications}}

## Compatibilidad entre navegadores
## Compatibilidad con navegadores

{{Compat("javascript.builtins.String.toSource")}}
{{Compat}}

## Véase también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: WebAssembly
slug: conflicting/WebAssembly/JavaScript_interface
original_slug: Web/JavaScript/Reference/Global_Objects/WebAssembly
browser-compat: javascript.builtins.WebAssembly
---

{{JSRef}}
Expand Down Expand Up @@ -76,9 +77,9 @@ fetch('simple.wasm').then(response =>

{{Specifications}}

## Compatibilidad de Navegadores
## Compatibilidad con navegadores

{{Compat("javascript.builtins.WebAssembly")}}
{{Compat}}

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ func(); // undefined

{{Specifications}}

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.functions.arguments")}}
{{Compat}}

## Ve también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ function adder(base /*, n2, ... */) {

{{Specifications}}

## Compatibilidad con los navegadores
## Compatibilidad con navegadores

{{Compat("javascript.functions.arguments.length")}}
{{Compat}}

## Véase también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,9 @@ setTimeout( () => {

{{Specifications}}

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.functions.arrow_functions")}}
{{Compat}}

## Ve también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ f() // 6

{{Specifications}}

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.functions.default_parameters")}}
{{Compat}}

## Ve también

Expand Down
8 changes: 4 additions & 4 deletions files/es/web/javascript/reference/functions/get/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ Note que intentar asignar un valor a `latest` no lo cambiará.
delete o.latest;
```

## Compatibilidad de navegadores
## Especificaciones

Basado en la página de [página de Robert Nyman](http://robertnyman.com/javascript/javascript-getters-setters.html#regular-getters-and-setters)
{{Specifications}}

Sin soporte (notablemente en IE6-8) significa que el script lanzará un error de sintaxis.
## Compatibilidad con navegadores

{{Compat("javascript.functions.get")}}
{{Compat}}

## Consulta también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,7 @@ console.log(bar.foo2()); // 2

## Compatibilidad con navegadores

{{Compat("javascript.functions.method_definitions")}}

## Notas específicas para SpiderMonkey

- Anteriormente a SpiderMonkey 38 (Firefox 38 / Thunderbird 38 / SeaMonkey 2.35), "`get`" y "`set`" eran nombres no válidos para métodos generadores. Esto ha sido corregido en {{bug(1073809)}}.
- Anteriormente a SpiderMonkey 41 (Firefox 41 / Thunderbird 41 / SeaMonkey 2.38), las llaves no eran requeridas en las definiciones de métodos. Estas son requeridas de ahora en adelante conforme a la especificación ES6 y su omisión arrojará un {{jsxref("SyntaxError")}} en esta versión y posteriores ({{bug(1150855)}}).

```js example-bad
var o = {x() 12}; // SyntaxError
```

- La restricción de que sólo los métodos generadores sean constructores fue implementada en SpiderMonkey 41 (Firefox 41 / Thunderbird 41 / SeaMonkey 2.38). Ver también {{bug(1059908)}} y {{bug(1166950)}}.
{{Compat}}

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ Para poder usar los métodos de `Array` en el objeto `arguments`, se debe conver

{{Specifications}}

## Compatibilidad en Navegadores
## Compatibilidad con navegadores

{{Compat("javascript.functions.rest_parameters")}}
{{Compat}}

## Ver también

Expand Down
7 changes: 1 addition & 6 deletions files/es/web/javascript/reference/functions/set/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,7 @@ console.log(obj.baz); // "baz"

## Compatibilidad con navegadores

{{Compat("javascript.functions.set")}}

## Notas específicas para SpiderMonkey-specific

- Comenzando con [JavaScript 1.8.1](/es/docs/Web/JavaScript/New_in_JavaScript/1.8.1), los setters ya no son llamados cuando se definen las propiedades en los inicializadores de objetos y arrays.
- De SpiderMonkey 38 en adelante, un setter con un {{jsxref("Functions/rest_parameters", "rest parameter", "", 1)}} es un {{jsxref("SyntaxError")}} conforme a la especificación ES6.
{{Compat}}

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ const y = new Error('¡Fui construido con la palabra clave "new"!')

{{Specifications}}

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.builtins.Error.Error")}}
{{Compat}}

## Ve también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ throw e;

No forma parte de ningún estándar.

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.builtins.Error.fileName")}}
{{Compat}}

## Ve también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ try {

{{Specifications}}

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.builtins.Error")}}
{{Compat}}

## Ve también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ throw e;

## Compatibilidad con navegadores

{{Compat("javascript.builtins.Error.message")}}
{{Compat}}

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ throw e;

{{Specifications}}

## Compatibilidad del navegador
## Compatibilidad con navegadores

{{Compat("javascript.builtins.Error.name")}}
{{Compat}}

## Ve también

Expand Down
Loading