Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 791421 of IDBEnvironmentSync

  • Revision slug: Web/API/IDBEnvironmentSync
  • Revision title: IDBEnvironmentSync
  • Revision id: 791421
  • Created:
  • Creator: chrisdavidmills
  • Is current revision? Yes
  • Comment

Revision Content

{{APIRef("IndexedDB")}} {{ draft() }}

Important: The synchronous version of the IndexedDB API was originally intended for use only with Web Workers, and was eventually removed from the spec because its need was questionable. It may however be reintroduced in the future if there is enough demand from web developers.

The {{ unimplemented_inline() }} IDBEnvironmentSync interface of the IndexedDB API will be implemented by worker objects.

Attributes

Attribute Type Description
indexedDBSync readonly IDBFactorySync Provides a synchronous means of accessing the capabilities of indexed databases. {{ Note("Until the Indexed Database API specification is finalized, this attribute should be accessed as moz_indexedDBSync.") }}

 

Revision Source

<p>{{APIRef("IndexedDB")}} {{ draft() }}</p>

<div class="warning">
<p><strong>Important</strong>: The synchronous version of the IndexedDB API was originally intended for use only with <a href="/en-US/docs/Web/Guide/Performance/Using_web_workers">Web Workers</a>, and was eventually removed from the spec because its need was questionable. It may&nbsp;however be reintroduced in the future if there is enough demand from web developers.</p>
</div>

<p>The {{ unimplemented_inline() }} <code>IDBEnvironmentSync</code> interface of the <a href="/en/IndexedDB" title="en/IndexedDB">IndexedDB API</a> will be implemented by <a href="/En/DOM/Worker" title="En/DOM/Worker">worker</a> objects.</p>

<h2 id="Attributes">Attributes</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Attribute</th>
   <th scope="col">Type</th>
   <th scope="col">Description</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td><code><a name="indexedDBSync">indexedDBSync</a></code></td>
   <td><code>readonly <a href="/en/IndexedDB/IDBFactorySync" title="en/IndexedDB/IDBFactorySync">IDBFactorySync</a></code></td>
   <td>Provides a synchronous means of accessing the capabilities of indexed databases. {{ Note("Until the Indexed&nbsp;Database API&nbsp;specification is finalized, this attribute should be accessed as <code>moz_indexedDBSync</code>.") }}</td>
  </tr>
 </tbody>
</table>

<p>&nbsp;</p>
Revert to this revision