Skip to content

Commit d808d1e

Browse files
authored
[Markdown] [Web/API] Remove name attribute api (#8502)
1 parent f6e9d5c commit d808d1e

File tree

15 files changed

+66
-66
lines changed

15 files changed

+66
-66
lines changed

files/en-us/web/api/file_and_directory_entries_api/introduction/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ <h2 id="definitions">Definitions</h2>
186186
<p>This section defines and explains terms used in the File and Directory Entries API.</p>
187187

188188
<dl>
189-
<dt><a name="gloss_blob">blob</a></dt>
189+
<dt>blob</dt>
190190
<dd>Stands for binary large object. A blob is a set of binary data that is stored as a single object. It is a general-purpose way to reference binary data in web applications. A blob can be an image or an audio file.</dd>
191-
<dt><a name="gloss_Blob">Blob</a></dt>
191+
<dt>Blob</dt>
192192
<dd>Blob—with a capital B—is a data structure that is immutable, which means that binary data referenced by a Blob cannot be modified directly. This makes Blobs act predictably when they are passed to asynchronous APIs.</dd>
193-
<dt><a name="gloss_persistent_storage">persistent storage</a></dt>
193+
<dt>persistent storage</dt>
194194
<dd>Persistent storage is storage that stays in the browser unless the user expunges it or the app deletes it. </dd>
195-
<dt><a name="gloss_temporary_storage">temporary storage</a></dt>
195+
<dt>temporary storage</dt>
196196
<dd>Transient storage is available to any web app. It is automatic and does not need to be requested, but the browser can delete the storage without warning.</dd>
197197
</dl>
198198

files/en-us/web/api/fileexception/index.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h2 id="Attribute">Attribute</h2>
4545
</thead>
4646
<tbody>
4747
<tr>
48-
<td><a name="attr_code"><code>code</code></a></td>
48+
<td><code>code</code></td>
4949
<td><code>unsigned short</code></td>
5050
<td>The most appropriate error code for the condition.</td>
5151
</tr>
@@ -66,53 +66,53 @@ <h2 id="Constants">Constants</h2>
6666
<th scope="col">Description</th>
6767
</tr>
6868
<tr>
69-
<td><code><a name="NON_TRANSIENT_ERR">ENCODING_ERR</a></code></td>
69+
<td><code>ENCODING_ERR</code></td>
7070
<td>5</td>
7171
<td>The URL is malformed. Make sure that the URL is complete and valid.</td>
7272
</tr>
7373
<tr>
74-
<td><code><a name="NON_TRANSIENT_ERR">INVALID_MODIFICATION_ERR</a></code></td>
74+
<td><code>INVALID_MODIFICATION_ERR</code></td>
7575
<td>9</td>
7676
<td>The modification requested is not allowed. Examples of invalid modifications include moving a directory into its own child or moving a file into its parent directory without changing its name.</td>
7777
</tr>
7878
<tr>
79-
<td><code><a name="CONSTRAINT_ERR">INVALID_STATE_ERR</a></code></td>
79+
<td><code>INVALID_STATE_ERR</code></td>
8080
<td>7</td>
8181
<td>The operation cannot be performed on the current state of the interface object. For example, the state that was cached in an interface object has changed since it was last read from disk.</td>
8282
</tr>
8383
<tr>
84-
<td><code><a name="VER_ERR">NO_MODIFICATION_ALLOWED_ERR</a></code></td>
84+
<td><code>NO_MODIFICATION_ALLOWED_ERR</code></td>
8585
<td>6</td>
8686
<td>The state of the underlying file system prevents any writing to a file or a directory.</td>
8787
</tr>
8888
<tr>
89-
<td><code><a name="NOT_FOUND_ERR">NOT_FOUND_ERR</a></code></td>
89+
<td><code>NOT_FOUND_ERR</code></td>
9090
<td>1</td>
9191
<td>A required file or directory could not be found at the time an operation was processed. For example, a file did not exist but was being opened.</td>
9292
</tr>
9393
</thead>
9494
<tbody>
9595
<tr>
96-
<td><code><a name="NON_TRANSIENT_ERR">NOT_READABLE_ERR</a></code></td>
96+
<td><code>NOT_READABLE_ERR</code></td>
9797
<td>4</td>
9898
<td>
9999
<p>The file or directory cannot be read, typically due to permission problems that occur after a reference to a file has been acquired (for example, the file or directory is concurrently locked by another application).</p>
100100
</td>
101101
</tr>
102102
<tr>
103-
<td><code><a name="TIMEOUT_ERR">PATH_EXISTS_ERR</a></code></td>
103+
<td><code>PATH_EXISTS_ERR</code></td>
104104
<td>12</td>
105105
<td>The file or directory with the same path already exists.</td>
106106
</tr>
107107
<tr>
108-
<td><code><a name="QUOTA_ERR">QUOTA_EXCEEDED_ERR</a></code></td>
108+
<td><code>QUOTA_EXCEEDED_ERR</code></td>
109109
<td>10</td>
110110
<td>
111111
<p>Either there's not enough remaining storage space or the storage quota was reached and the user declined to give more space to the database.</p>
112112
</td>
113113
</tr>
114114
<tr>
115-
<td><code><a name="SECURITY_ERR">SECURITY_ERR</a></code></td>
115+
<td><code>SECURITY_ERR</code></td>
116116
<td>2</td>
117117
<td>
118118
<p>Access to the files were denied for one of the following reasons:</p>
@@ -125,7 +125,7 @@ <h2 id="Constants">Constants</h2>
125125
</td>
126126
</tr>
127127
<tr>
128-
<td><code><a name="READ_ONLY_ERR">TYPE_MISMATCH_ERR</a></code></td>
128+
<td><code>TYPE_MISMATCH_ERR</code></td>
129129
<td>11</td>
130130
<td>The user has attempted to look up a file or directory, but the Entry found is of the wrong type. For example, the app is accessing a DirectoryEntry when the user is requesting a FileEntry.</td>
131131
</tr>

files/en-us/web/api/filesystemsync/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ <h2 id="Attributes">Attributes</h2>
3838
</thead>
3939
<tbody>
4040
<tr>
41-
<td><a name="attr_name"><code>name</code></a></td>
41+
<td><code>name</code></td>
4242
<td><code>readonly DOMString</code></td>
4343
<td>Name of the file system. The name must be unique across the list of exposed file systems.</td>
4444
</tr>
4545
<tr>
46-
<td><a name="attr_root"><code>root</code></a></td>
46+
<td><code>root</code></td>
4747
<td><code>readonly DirectoryEntry</code></td>
4848
<td>The root directory of the file system.</td>
4949
</tr>

files/en-us/web/api/idbcursorsync/index.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@ <h2 id="Attributes">Attributes</h2>
4343
</thead>
4444
<tbody>
4545
<tr>
46-
<td><a name="attr_count"><code>count</code></a></td>
46+
<td><code>count</code></td>
4747
<td><code>readonly unsigned long long</code></td>
4848
<td>The total number of objects that share the current key.</td>
4949
</tr>
5050
<tr>
51-
<td><a name="attr_direction"><code>direction</code></a></td>
51+
<td><code>direction</code></td>
5252
<td><code>readonly unsigned short</code></td>
5353
<td>The direction of traversal of the cursor. See Constants for possible values.</td>
5454
</tr>
5555
<tr>
56-
<td><a name="attr_key"><code>key</code></a></td>
56+
<td><code>key</code></td>
5757
<td><code>readonly any</code></td>
5858
<td>The key for the record at the cursor's position.</td>
5959
</tr>
6060
<tr>
61-
<td><a name="attr_value"><code>value</code></a></td>
61+
<td><code>value</code></td>
6262
<td><code>any</code></td>
6363
<td>
6464
<p>The value for the record at the cursor's position. Setting this attribute can raise an IDBDatabaseException with the following codes:</p>
@@ -88,22 +88,22 @@ <h2 id="Constants">Constants</h2>
8888
</thead>
8989
<tbody>
9090
<tr>
91-
<td><a name="const_next"><code>NEXT</code></a></td>
91+
<td><code>NEXT</code></td>
9292
<td>0</td>
9393
<td>This cursor includes duplicates, and its direction is monotonically increasing in the order of keys.</td>
9494
</tr>
9595
<tr>
96-
<td><a name="const_next_no_duplicate"><code>NEXT_NO_DUPLICATE</code></a></td>
96+
<td><code>NEXT_NO_DUPLICATE</code></td>
9797
<td>1</td>
9898
<td>This cursor does not include duplicates, and its direction is monotonically increasing in the order of keys.</td>
9999
</tr>
100100
<tr>
101-
<td><a name="const_prev"><code>PREV</code></a></td>
101+
<td><code>PREV</code></td>
102102
<td>2</td>
103103
<td>This cursor includes duplicates, and its direction is monotonically decreasing in the order of keys.</td>
104104
</tr>
105105
<tr>
106-
<td><a name="const_prev_no_duplicate"><code>PREV_NO_DUPLICATE</code></a></td>
106+
<td><code>PREV_NO_DUPLICATE</code></td>
107107
<td>3</td>
108108
<td>This cursor does not include duplicates, and its direction is monotonically decreasing in the order of keys.</td>
109109
</tr>

files/en-us/web/api/idbdatabaseexception/index.html

+14-14
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ <h2 id="Attributes">Attributes</h2>
2828
</thead>
2929
<tbody>
3030
<tr>
31-
<td><a name="attr_code"><code>code</code></a></td>
31+
<td><code>code</code></td>
3232
<td><code>unsigned short</code></td>
3333
<td>The most appropriate error code for the condition.</td>
3434
</tr>
3535
<tr>
36-
<td><a name="attr_message"><code>message</code></a></td>
36+
<td><code>message</code></td>
3737
<td><code>DOMString</code></td>
3838
<td>Error message describing the exception raised.</td>
3939
</tr>
@@ -56,27 +56,27 @@ <h2 id="Constants">Constants</h2>
5656
</thead>
5757
<tbody>
5858
<tr>
59-
<td><code><a name="ABORT_ERR">ABORT_ERR</a></code></td>
59+
<td><code>ABORT_ERR</code></td>
6060
<td><code>8</code></td>
6161
<td>A request was aborted, for example, through a call to<a href="/en-US/docs/Web/API/IDBTransaction#abort"> <code>IDBTransaction.abort</code></a>.</td>
6262
</tr>
6363
<tr>
64-
<td><code><a name="CONSTRAINT_ERR">CONSTRAINT_ERR</a></code></td>
64+
<td><code>CONSTRAINT_ERR</code></td>
6565
<td><code>4</code></td>
6666
<td>A mutation operation in the transaction failed because a constraint was not satisfied. For example, an object, such as an object store or index, already exists and a request attempted to create a new one.</td>
6767
</tr>
6868
<tr>
69-
<td><code><a name="DATA_ERR">DATA_ERR</a></code></td>
69+
<td><code>DATA_ERR</code></td>
7070
<td><code>5</code></td>
7171
<td>Data provided to an operation does not meet requirements.</td>
7272
</tr>
7373
<tr>
74-
<td><code><a name="NON_TRANSIENT_ERR">NON_TRANSIENT_ERR</a></code></td>
74+
<td><code>NON_TRANSIENT_ERR</code></td>
7575
<td><code>2</code></td>
7676
<td>An operation was not allowed on an object. Unless the cause of the error is corrected, retrying the same operation would result in failure.</td>
7777
</tr>
7878
<tr>
79-
<td><code><a name="NOT_ALLOWED_ERR">NOT_ALLOWED_ERR</a></code></td>
79+
<td><code>NOT_ALLOWED_ERR</code></td>
8080
<td><code>6</code></td>
8181
<td>
8282
<p>An operation was called on an object where it is not allowed or at a time when it is not allowed. It also occurs if a request is made on a source object that has been deleted or removed.</p>
@@ -85,37 +85,37 @@ <h2 id="Constants">Constants</h2>
8585
</td>
8686
</tr>
8787
<tr>
88-
<td><code><a name="NOT_FOUND_ERR">NOT_FOUND_ERR</a></code></td>
88+
<td><code>NOT_FOUND_ERR</code></td>
8989
<td><code>3</code></td>
9090
<td>The operation failed because the requested database object could not be found; for example, an object store did not exist but was being opened.</td>
9191
</tr>
9292
<tr>
93-
<td><code><a name="QUOTA_ERR">QUOTA_ERR</a></code></td>
93+
<td><code>QUOTA_ERR</code></td>
9494
<td><code>11</code></td>
9595
<td>Either there's not enough remaining storage space or the storage quota was reached and the user declined to give more space to the database.</td>
9696
</tr>
9797
<tr>
98-
<td><code><a name="READ_ONLY_ERR">READ_ONLY_ERR</a></code></td>
98+
<td><code>READ_ONLY_ERR</code></td>
9999
<td><code>9</code></td>
100100
<td>A mutation operation was attempted in a <code>READ_ONLY</code> transaction.</td>
101101
</tr>
102102
<tr>
103-
<td><code><a name="TIMEOUT_ERR">TIMEOUT_ERR</a></code></td>
103+
<td><code>TIMEOUT_ERR</code></td>
104104
<td><code>10</code></td>
105105
<td>A lock for the transaction could not be obtained in a reasonable time.</td>
106106
</tr>
107107
<tr>
108-
<td><a name="TRANSACTION_INACTIVE_ERR"><code>TRANSACTION_INACTIVE_ERR</code></a></td>
108+
<td><code>TRANSACTION_INACTIVE_ERR</code></td>
109109
<td><code>7</code></td>
110110
<td>A request was made against a transaction that is either not currently active or is already finished.</td>
111111
</tr>
112112
<tr>
113-
<td><code><a name="UNKNOWN_ERR">UNKNOWN_ERR</a></code></td>
113+
<td><code>UNKNOWN_ERR</code></td>
114114
<td><code>1</code></td>
115115
<td>The operation failed for reasons unrelated to the database itself, and it is not covered by any other error code--for example, a failure due to disk IO errors.</td>
116116
</tr>
117117
<tr>
118-
<td><code><a name="VER_ERR">VER_ERR</a></code></td>
118+
<td><code>VER_ERR</code></td>
119119
<td><code>12</code></td>
120120
<td>A request to open a database with a version lower than the one it already has. This can only happen with <a href="/en-US/docs/Web/API/IDBOpenDBRequest"><code>IDBOpenDBRequest</code></a>.</td>
121121
</tr>

files/en-us/web/api/idbdatabasesync/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,22 @@ <h2 id="Attributes">Attributes</h2>
5151
</thead>
5252
<tbody>
5353
<tr>
54-
<td><code><a name="attr_description">description</a></code></td>
54+
<td><code>description</code></td>
5555
<td><code>readonly DOMString </code></td>
5656
<td>The human-readable description of the connected database.</td>
5757
</tr>
5858
<tr>
59-
<td><a name="attr_name"></a><code><a>name</a> </code></td>
59+
<td><code>name </code></td>
6060
<td><code>readonly DOMString </code></td>
6161
<td>The name of the connected database.</td>
6262
</tr>
6363
<tr>
64-
<td><a name="attr_objectStores"></a><code><a>objectStores</a> </code></td>
64+
<td><code>objectStores </code></td>
6565
<td><code>readonly DOMStringList </code></td>
6666
<td>The names of the object stores that exist in the connected database.</td>
6767
</tr>
6868
<tr>
69-
<td><a name="attr_version"></a><code><a>version</a> </code></td>
69+
<td><code>version </code></td>
7070
<td><code>readonly DOMString</code></td>
7171
<td>The version of the connected database. Has the null value when the database is first created.</td>
7272
</tr>

files/en-us/web/api/idbenvironmentsync/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 id="Attributes">Attributes</h2>
2929
</thead>
3030
<tbody>
3131
<tr>
32-
<td><code><a name="indexedDBSync">indexedDBSync</a></code></td>
32+
<td><code>indexedDBSync</code></td>
3333
<td><code>readonly <a href="/en-US/docs/Web/API/IDBFactorySync">IDBFactorySync</a></code></td>
3434
<td>Provides a synchronous means of accessing the capabilities of indexed databases.
3535
<div class="notecard note">

files/en-us/web/api/idbindexsync/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,22 @@ <h2 id="Attributes">Attributes</h2>
5757
</thead>
5858
<tbody>
5959
<tr>
60-
<td><code><a name="attr_keyPath">keyPath</a></code></td>
60+
<td><code>keyPath</code></td>
6161
<td><code>readonly DOMString</code></td>
6262
<td>The <a href="/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#key_path">key path</a> of this index. If this attribute is null, this index is not auto-populated.</td>
6363
</tr>
6464
<tr>
65-
<td><code><a name="attr_name">name</a></code></td>
65+
<td><code>name</code></td>
6666
<td><code>readonly DOMString</code></td>
6767
<td>The name of this index.</td>
6868
</tr>
6969
<tr>
70-
<td><code><a name="attr_storeName">storeName</a></code></td>
70+
<td><code>storeName</code></td>
7171
<td><code>readonly DOMString</code></td>
7272
<td>This index's referenced <a href="/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#object_store">object store</a>.</td>
7373
</tr>
7474
<tr>
75-
<td><code><a name="attr_unique">unique</a></code></td>
75+
<td><code>unique</code></td>
7676
<td><code>readonly boolean</code></td>
7777
<td>If true, a key can have only one value within the index; if false, a key can have duplicate values.</td>
7878
</tr>

files/en-us/web/api/idbobjectstoresync/index.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,22 @@ <h2 id="Attributes">Attributes</h2>
5959
</thead>
6060
<tbody>
6161
<tr>
62-
<td><code><a name="attr_indexNames">indexNames</a></code></td>
62+
<td><code>indexNames</code></td>
6363
<td><code>readonly DOMStringList</code></td>
6464
<td>A list of the names of the <a href="/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#index">indexes</a> on this object store.</td>
6565
</tr>
6666
<tr>
67-
<td><code><a name="attr_keyPath">keyPath</a></code></td>
67+
<td><code>keyPath</code></td>
6868
<td><code>readonly DOMString</code></td>
6969
<td>The <a href="/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#key_path">key path</a> of this object store. If this attribute is set to null, then the application must provide a key for each modification operation.</td>
7070
</tr>
7171
<tr>
72-
<td><code><a name="attr_mode">mode</a></code></td>
72+
<td><code>mode</code></td>
7373
<td><code>readonly unsigned short</code></td>
7474
<td>The mode for isolating access to the data in this object store. For possible values, see <a href="/en-US/docs/Web/API/IDBObjectStoreSync#constants">Constants</a>.</td>
7575
</tr>
7676
<tr>
77-
<td><code><a name="attr_name">name</a></code></td>
77+
<td><code>name</code></td>
7878
<td><code>readonly DOMString</code></td>
7979
<td>The name of this object store.</td>
8080
</tr>
@@ -95,17 +95,17 @@ <h3 id="Mode_constants">Mode constants</h3>
9595
</thead>
9696
<tbody>
9797
<tr>
98-
<td><code><a name="const_read_only">READ_ONLY</a></code></td>
98+
<td><code>READ_ONLY</code></td>
9999
<td>1</td>
100100
<td>Modification operations are not allowed on this object store.</td>
101101
</tr>
102102
<tr>
103-
<td><code><a name="const_read_write">READ_WRITE</a></code></td>
103+
<td><code>READ_WRITE</code></td>
104104
<td>0</td>
105105
<td>Modification operations are allowed on this object store.</td>
106106
</tr>
107107
<tr>
108-
<td><code><a name="const_snapshot_read">SNAPSHOT_READ</a></code></td>
108+
<td><code>SNAPSHOT_READ</code></td>
109109
<td>2</td>
110110
<td>Any read operations must access a snapshot view of the data, which cannot change once it is created.</td>
111111
</tr>

files/en-us/web/api/idbtransactionsync/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ <h2 id="Attributes">Attributes</h2>
4545
</thead>
4646
<tbody>
4747
<tr>
48-
<td><a name="attr_db"><code>db</code></a></td>
48+
<td><code>db</code></td>
4949
<td><code><a href="/en-US/docs/Web/API/IDBDatabaseSync">IDBDatabaseSync</a></code></td>
5050
<td>The <a href="/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#database_connection">database connection</a> that this transaction is associated with.</td>
5151
</tr>
5252
<tr>
53-
<td><a name="attr_static"><code>static</code></a></td>
53+
<td><code>static</code></td>
5454
<td><code>boolean</code></td>
5555
<td>If true, this transaction is static; if false, this transaction is dynamic.</td>
5656
</tr>

files/en-us/web/api/indexeddb_api/basic_terminology/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h2 id="key_characteristics">Key characteristics</h2>
5353
<p><strong>IndexedDB does not use Structured Query Language (<abbr>SQL</abbr>).</strong> It uses queries on an index that produces a cursor, which you use to iterate across the result set. If you are not familiar with NoSQL systems, read the <a href="https://en.wikipedia.org/wiki/NoSQL">Wikipedia article on NoSQL</a>.</p>
5454
</li>
5555
<li>
56-
<p><a name="origin"><strong>IndexedDB adheres to a same-origin policy</strong></a>. An origin is the domain, application layer protocol, and port of a URL of the document where the script is being executed. Each origin has its own associated set of databases. Every database has a name that identifies it within an origin.</p>
56+
<p><strong>IndexedDB adheres to a same-origin policy</strong>. An origin is the domain, application layer protocol, and port of a URL of the document where the script is being executed. Each origin has its own associated set of databases. Every database has a name that identifies it within an origin.</p>
5757

5858
<p>The security boundary imposed on IndexedDB prevents applications from accessing data with a different origin. For example, while an app or a page in <a href="https://www.example.com/app/">http://www.example.com/app/</a> can retrieve data from <a href="https://www.example.com/dir/">http://www.example.com/dir/</a>, because they have the same origin, it cannot retrieve data from <a href="https://www.example.com:8080/dir/">http://www.example.com:8080/dir/</a> (different port) or <a class="link-https" href="https://www.example.com/dir/">https://www.example.com/dir/</a> (different protocol), because they have different origins.</p>
5959

0 commit comments

Comments
 (0)