@@ -38,33 +38,32 @@ spec: ecma262; urlPrefix: https://tc39.github.io/ecma262/
38
38
text: !
39
39
text: ?
40
40
text: abrupt completion; url: sec-completion-record-specification-type
41
- text: ReturnIfAbrupt; url: sec-returnifabrupt
42
- text: IdentifierName; url: prod-IdentifierName
43
- text: Type; url: sec-ecmascript-data-types-and-values
44
- text: HasOwnProperty; url: sec-hasownproperty
45
- text: Get; url: sec-get-o-p
41
+ text: Array; url: sec-array-objects
42
+ text: array exotic object; url: array-exotic-objects
43
+ text: Array.prototype.sort; url: sec-array.prototype.sort
44
+ text: ArrayBuffer; url: sec-arraybuffer-objects
46
45
text: CreateDataProperty; url: sec-createdataproperty
47
- text: ToLength; url: sec-tolength
48
- text: ToString; url: sec-tostring
49
- text: IsArray; url: sec-isarray
50
- text: String; url: sec-terms-and-definitions-string-type
51
- text: Number; url: sec-terms-and-definitions-number-type
52
- text: RegExp; url: sec-regexp-regular-expression-objects
46
+ text: current Realm; url: current-realm
53
47
text: Date; url: sec-date-objects
48
+ text: Get; url: sec-get-o-p
49
+ text: HasOwnProperty; url: sec-hasownproperty
50
+ text: IdentifierName; url: prod-IdentifierName
51
+ text: Number; url: sec-terms-and-definitions-number-type
54
52
text: Object; url: sec-object-objects
55
- text: TypeError; url: sec-native-error-types-used-in-this-standard-typeerror
56
- text: Array; url: sec-array-objects
57
- text: ArrayBuffer; url: sec-arraybuffer-objects
58
- text: Uint8Array; url: sec-typedarray-objects
59
- text: Promise; url: sec-promise-objects
60
53
text: Realm; url: realm
61
- text: current Realm; url: current-realm
62
- text: Array.prototype.sort; url: sec-array.prototype.sort
63
54
text: Record; url: sec-list-and-record-specification-type
55
+ text: RegExp; url: sec-regexp-regular-expression-objects
56
+ text: ReturnIfAbrupt; url: sec-returnifabrupt
57
+ text: String; url: sec-terms-and-definitions-string-type
58
+ text: ToLength; url: sec-tolength
59
+ text: ToString; url: sec-tostring
60
+ text: Type; url: sec-ecmascript-data-types-and-values
61
+ text: TypeError; url: sec-native-error-types-used-in-this-standard-typeerror
62
+ text: Uint8Array; url: sec-typedarray-objects
64
63
spec: webidl; urlPrefix: https://heycam.github.io/webidl/
65
64
type: dfn
66
- text: sequence<DOMString>; url: idl-sequence
67
65
text: sequence<any> ; url: idl-sequence
66
+ text: sequence<DOMString>; url: idl-sequence
68
67
</pre>
69
68
70
69
<style>
@@ -2364,14 +2363,14 @@ when invoked, must run these steps:
2364
2363
1. Let |origin| be the [=/origin=] of the global scope used to access **this**.
2365
2364
2366
2365
1. If |origin| is an [=opaque origin=] ,
2367
- then return a new promise rejected with a "{{SecurityError}} " {{DOMException}} .
2366
+ then return [=/a promise rejected with=] a "{{SecurityError}} " {{DOMException}} .
2368
2367
2369
- 1. Let |p| be a new promise.
2368
+ 1. Let |p| be [=/ a new promise=] .
2370
2369
2371
2370
1. Run these steps [=in parallel=] :
2372
2371
2373
2372
1. Let |databases| be the [=/set=] of [=databases=] in |origin|.
2374
- If this cannot be determined for any reason, then reject |p| with
2373
+ If this cannot be determined for any reason, then [=/ reject=] |p| with
2375
2374
an appropriate error (e.g. an "{{UnknownError}} " {{DOMException}} )
2376
2375
and terminate these steps.
2377
2376
@@ -2384,7 +2383,7 @@ when invoked, must run these steps:
2384
2383
1. Set |info|'s {{IDBDatabaseInfo/version}} dictionary member to |db|' s [=database/version=] .
2385
2384
1. [=list/Append=] |info| to |result|.
2386
2385
2387
- 1. Resolve |p| with |result|.
2386
+ 1. [=/ Resolve=] |p| with |result|.
2388
2387
2389
2388
1. Return |p|.
2390
2389
@@ -6503,7 +6502,7 @@ steps may throw an exception.
6503
6502
*binary* and [=key/value=] |bytes|.
6504
6503
6505
6504
<!-- Array -->
6506
- : If [=IsArray=] (|input|)
6505
+ : If |input| is an [=/Array exotic object=]
6507
6506
::
6508
6507
1. Let |len| be [=?=] [=ToLength=] ( [=?=] [=Get=] (|input|,
6509
6508
"`length`")).
@@ -6549,7 +6548,7 @@ To <dfn>convert a value to a multiEntry key</dfn> with an ECMAScript value |inpu
6549
6548
The result of these steps is a [=/key=] or invalid, or the
6550
6549
steps may throw an exception.
6551
6550
6552
- 1. If [=IsArray=] (|input|) , then:
6551
+ 1. If |input| is an [=/Array exotic object=] , then:
6553
6552
6554
6553
1. Let |len| be [=?=] ToLength( [=?=] [=Get=] (|input|, "`length`")).
6555
6554
@@ -6815,6 +6814,7 @@ For the revision history of the second edition, see [that document's Revision Hi
6815
6814
* Added {{IDBCursor/request}} attribute. ([Issue #255] (https://github.com/w3c/IndexedDB/issues/255))
6816
6815
* Removed handling for nonstandard `lastModifiedDate` property of {{File}} objects. ([Issue #215] (https://github.com/w3c/IndexedDB/issues/215))
6817
6816
* Remove escaping {{IDBKeyRange/includes()}} method. ([Issue #294] (https://github.com/w3c/IndexedDB/issues/294))
6817
+ * Restrict array keys to [=/Array exotic objects=] (i.e. disallow proxies). ([Issue #309] (https://github.com/w3c/IndexedDB/issues/309])
6818
6818
6819
6819
<!-- ============================================================ -->
6820
6820
# Acknowledgements # {#acknowledgements}
0 commit comments