aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/api/url/revokeobjecturl/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-br/web/api/url/revokeobjecturl/index.html')
-rw-r--r--files/pt-br/web/api/url/revokeobjecturl/index.html107
1 files changed, 107 insertions, 0 deletions
diff --git a/files/pt-br/web/api/url/revokeobjecturl/index.html b/files/pt-br/web/api/url/revokeobjecturl/index.html
new file mode 100644
index 0000000000..1a6c34027d
--- /dev/null
+++ b/files/pt-br/web/api/url/revokeobjecturl/index.html
@@ -0,0 +1,107 @@
+---
+title: URL.revokeObjectURL()
+slug: Web/API/URL/revokeObjectURL
+translation_of: Web/API/URL/revokeObjectURL
+---
+<p>{{ApiRef("URL")}}{{SeeCompatTable}}</p>
+
+<h2 id="Resumo">Resumo</h2>
+
+<p>O método estático <strong><code>URL.revokeObjectURL()</code></strong> libera um objeto URL que foi criado préviamente chamando {{domxref("URL.createObjectURL()") }}.  Utilize este método quando terminar de usar um objeto URL, para informar o navegador que não é mais necessário manter a referência para o arquivo.</p>
+
+<p>{{AvailableInWorkers}}</p>
+
+<h2 id="Sintaxe">Sintaxe</h2>
+
+<pre class="syntaxbox">window.URL.revokeObjectURL(<em>objectURL</em>);
+</pre>
+
+<dl>
+ <dt><em>objectURL </em></dt>
+ <dd>é um {{domxref("DOMString")}} representando o objeto URL que foi criado chamando {{domxref("URL.createObjectURL()") }}.</dd>
+</dl>
+
+<ul>
+</ul>
+
+<h2 id="Exemplo">Exemplo</h2>
+
+<p>Veja <a href="/en-US/docs/Using_files_from_web_applications#Example_Using_object_URLs_to_display_images">Using object URLs to display images</a>.</p>
+
+<h2 id="Especificações">Especificações</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comentário</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('File API', '#dfn-revokeObjectURL', 'URL')}}</td>
+ <td>{{Spec2('File API')}}</td>
+ <td>Initial definition</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Compatibilidade_de_Navegadores">Compatibilidade de Navegadores</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>8.0<sup>[1]</sup></td>
+ <td>{{CompatGeckoDesktop(2.0)}}</td>
+ <td>10.0</td>
+ <td>15.0</td>
+ <td>6.0<sup>[1]</sup><br>
+ 7.0</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
+ <td>{{CompatGeckoMobile(14.0)}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>15.0</td>
+ <td>6.0<sup>[1]</sup><br>
+ 7.0</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<p>[1] Implementado com prefixo de URL como <code>webkitURL</code>.</p>
+
+<h2 id="Veja_também">Veja também</h2>
+
+<ul>
+ <li>{{domxref("URL.createObjectURL()") }}</li>
+ <li><a href="/en-US/docs/Using_files_from_web_applications">Using files from web applications</a></li>
+</ul>