aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/url
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-03 22:36:23 +0900
committerGitHub <noreply@github.com>2022-03-03 07:36:23 -0600
commit0ce7202a706c9036eeea42c158f433c2b7940457 (patch)
tree4e952b5472e3140bd12ac07e77df3aa47e79b60f /files/es/web/api/url
parent581e6fb5827a5450e295c91250dd0563a3c9251a (diff)
downloadtranslated-content-0ce7202a706c9036eeea42c158f433c2b7940457.tar.gz
translated-content-0ce7202a706c9036eeea42c158f433c2b7940457.tar.bz2
translated-content-0ce7202a706c9036eeea42c158f433c2b7940457.zip
Migrate CompatibilityTable to Compat macro (es) (#4355)
* Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es)
Diffstat (limited to 'files/es/web/api/url')
-rw-r--r--files/es/web/api/url/createobjecturl/index.html73
-rw-r--r--files/es/web/api/url/index.html110
2 files changed, 2 insertions, 181 deletions
diff --git a/files/es/web/api/url/createobjecturl/index.html b/files/es/web/api/url/createobjecturl/index.html
index 9a6b6841b4..2f568a84d4 100644
--- a/files/es/web/api/url/createobjecturl/index.html
+++ b/files/es/web/api/url/createobjecturl/index.html
@@ -66,78 +66,7 @@ translation_of: Web/API/URL/createObjectURL
<h2 id="Compatibilidad_de_navegadores">Compatibilidad de navegadores</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>8 [1]<br>
- {{CompatChrome(23)}}</td>
- <td>{{CompatGeckoDesktop(2)}}</td>
- <td>{{CompatIE(10)}}</td>
- <td>{{CompatOpera(15)}}</td>
- <td>{{CompatSafari(6)}} [1]<br>
- {{CompatSafari(7)}}</td>
- </tr>
- <tr>
- <td>In a {{ domxref("Worker", "Web Worker") }}</td>
- <td>10 [1]<br>
- {{CompatChrome(23)}}</td>
- <td>{{CompatGeckoDesktop(21)}}</td>
- <td>{{CompatIE(11)}}</td>
- <td>{{CompatOpera(15)}}</td>
- <td>{{CompatSafari(6)}} [1]<br>
- {{CompatSafari(7)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome para Android</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>18 [1]</td>
- <td>4.0 [1]</td>
- <td>{{CompatGeckoMobile(14)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(15)}} [1]</td>
- <td>6.0 [1]</td>
- </tr>
- <tr>
- <td>In a {{ domxref("Worker", "Web Worker") }}</td>
- <td>18 [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatGeckoMobile(14)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(15)}} [1]</td>
- <td>6.0 [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Con <code><a href="/en-US/docs/Web/API/URL">URL</a></code> prefijado como <code>webkitURL</code></p>
+{{Compat("api.URL.createObjectURL")}}
<h2 id="Mirar_también">Mirar también</h2>
diff --git a/files/es/web/api/url/index.html b/files/es/web/api/url/index.html
index c107b21511..8a6708af80 100644
--- a/files/es/web/api/url/index.html
+++ b/files/es/web/api/url/index.html
@@ -99,115 +99,7 @@ translation_of: Web/API/URL
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>8.0<sup>[2]</sup><br>
- 32</td>
- <td>In Development<sup>[5]</sup></td>
- <td>{{CompatGeckoDesktop("2.0")}}<sup>[1][3]</sup><br>
- {{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>15.0<sup>[2]</sup><br>
- 19</td>
- <td>6.0<sup>[2]</sup><br>
- 7.0</td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>32</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>19</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("29.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>36</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4<sup>[2]</sup><br>
- 4.4</td>
- <td>8.0<sup>[2]</sup><br>
- 32</td>
- <td>{{CompatGeckoMobile("14.0")}}<sup>[1][3]</sup><br>
- {{CompatGeckoMobile("19.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>15.0<sup>[2]</sup></td>
- <td>6.0<sup>[2]</sup></td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>4.4</td>
- <td>32</td>
- <td>{{CompatGeckoDesktop("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatGeckoMobile("29.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] From Gecko 2 (Firefox 4) to Gecko 18 included, Gecko supported this interface with the non-standard <code>nsIDOMMozURLProperty</code> internal type. As the only to access such an object was through {{domxref("window.URL")}}, in practice, this didn't make any difference.</p>
-
-<p>[2] This feature is implemented under the non-standard name <code>webkitURL</code>.</p>
-
-<p>[3] For Firefox, to use from chrome code, JSM and Bootstrap scope, you have to import it like this:</p>
-
-<pre class="brush: js">Cu.importGlobalProperties(['URL']);
-</pre>
-
-<p><code>URL</code> is available in Worker scopes.</p>
-
-<p>[4] As of IE11, instantiating new URL objects is not supported - ie. new URL() does not work. </p>
-
-<p>[5] Edge in development: see https://developer.microsoft.com/en-us/microsoft-edge/platform/status/urlapi/  and https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/6263638-url-api</p>
+{{Compat("api.URL")}}
<h2 id="See_also">See also</h2>