File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 137
137
|data:ShareData|, run the following steps:
138
138
p >
139
139
< ol class ="algorithm ">
140
+ < li > Let |window| be [=relevant global object=] of [=this=].
141
+ li >
142
+ < li > If |window| does not have [=transient activation=], return [=a
143
+ promise rejected with=] with a {{"NotAllowedError"}}
144
+ {{DOMException}}.
145
+ li >
146
+ < li > [=Consume user activation=] of |window|.
147
+ li >
140
148
< li > If {{[[sharePromise]]}} is not `null`, return < a > a promise
141
149
rejected witha > {{InvalidStateError}}.
142
150
li >
170
178
li >
171
179
ol >
172
180
li >
173
- < li > If the [=relevant global object=] of [=this=] does not have
174
- [=transient activation=], or a file type is being blocked due to
175
- security considerations, return < a > a promise rejected witha > with
176
- a {{"NotAllowedError"}} {{DOMException}}.
181
+ < li > If a file type is being blocked due to security considerations,
182
+ return < a > a promise rejected witha > with a {{"NotAllowedError"}}
183
+ {{DOMException}}.
177
184
li >
178
185
< li > Set {{[[sharePromise]]}} to be < a > a new promisea > .
179
186
li >
You can’t perform that action at this time.
0 commit comments