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,6 +137,14 @@ <h4>
137137 |data:ShareData|, run the following steps:
138138 </ p >
139139 < 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 >
140148 < li > If {{[[sharePromise]]}} is not `null`, return < a > a promise
141149 rejected with</ a > {{InvalidStateError}}.
142150 </ li >
@@ -170,10 +178,9 @@ <h4>
170178 </ li >
171179 </ ol >
172180 </ 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 with</ a > with
176- a {{"NotAllowedError"}} {{DOMException}}.
181+ < li > If a file type is being blocked due to security considerations,
182+ return < a > a promise rejected with</ a > with a {{"NotAllowedError"}}
183+ {{DOMException}}.
177184 </ li >
178185 < li > Set {{[[sharePromise]]}} to be < a > a new promise</ a > .
179186 </ li >
You can’t perform that action at this time.
0 commit comments