Commit 151b35e
Check transient activation after sharePromise (#183)
WPT web-share/share-sharePromise-internal-slot.https.html
has multiple navigator.share() calls within a single
onclick handler. This is a good way to test the sharePromise
internal slot, but it was not previously permitted by the spec,
as the first call would consume activation and the later calls
would fail with NotAllowedError instead of InvalidStateError.
Co-authored-by: Eric Willigers <[email protected]>1 parent 2bbde9c commit 151b35e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
153 | 156 | | |
154 | 157 | | |
155 | 158 | | |
| |||
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments