@@ -2201,7 +2201,9 @@ when invoked, must run these steps:
2201
2201
2202
2202
1. If |version| is 0 (zero), [=throw=] a [=TypeError=] .
2203
2203
2204
- 1. Let |origin| be the [=/origin=] of the global scope used to access [=/this=] .
2204
+ 1. Let |environment| be [=/this=] 's [=/relevant settings object=] .
2205
+
2206
+ 1. Let |origin| be |environment|'s [=environment settings object/origin=] .
2205
2207
2206
2208
1. If |origin| is an [=opaque origin=] , [=throw=] a
2207
2209
"{{SecurityError}} " {{DOMException}} and abort these steps.
@@ -2271,7 +2273,9 @@ when invoked, must run these steps:
2271
2273
The <dfn method for=IDBFactory>deleteDatabase(|name|)</dfn> method,
2272
2274
when invoked, must run these steps:
2273
2275
2274
- 1. Let |origin| be the [=/origin=] of the global scope used to access [=/this=] .
2276
+ 1. Let |environment| be [=/this=] 's [=/relevant settings object=] .
2277
+
2278
+ 1. Let |origin| be |environment|'s [=environment settings object/origin=] .
2275
2279
2276
2280
1. If |origin| is an [=opaque origin=] , [=throw=] a
2277
2281
"{{SecurityError}} " {{DOMException}} and abort these steps.
@@ -2326,7 +2330,9 @@ when invoked, must run these steps:
2326
2330
The <dfn method for=IDBFactory>databases()</dfn> method,
2327
2331
when invoked, must run these steps:
2328
2332
2329
- 1. Let |origin| be the [=/origin=] of the global scope used to access [=/this=] .
2333
+ 1. Let |environment| be [=/this=] 's [=/relevant settings object=] .
2334
+
2335
+ 1. Let |origin| be |environment|'s [=environment settings object/origin=] .
2330
2336
2331
2337
1. If |origin| is an [=opaque origin=] ,
2332
2338
then return [=/a promise rejected with=] a "{{SecurityError}} " {{DOMException}} .
0 commit comments