-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1930930 [wpt PR 49138] - HTML: Consume user activation for window…
….open (multi-global test), a=testonly Automatic update from web-platform-tests HTML: Consume user activation for window.open (multi-global test) See whatwg/html#10547 -- wpt-commits: 5ec8ba6d68f27d49a056cbf940e3bc9a8324c538 wpt-pr: 49138 UltraBlame original commit: 3da7235374ed270a493d09f34f3c394c87b74de9
- Loading branch information
Showing
5 changed files
with
1,165 additions
and
0 deletions.
There are no files selected for viewing
104 changes: 104 additions & 0 deletions
104
...ing/web-platform/tests/html/browsers/windows/consume-user-activation/support/current.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
title | ||
> | ||
Current | ||
page | ||
used | ||
as | ||
a | ||
test | ||
helper | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
button | ||
id | ||
= | ||
" | ||
focus | ||
- | ||
opener | ||
- | ||
button | ||
" | ||
onclick | ||
= | ||
" | ||
opener | ||
. | ||
focus | ||
( | ||
) | ||
" | ||
> | ||
Focus | ||
opener | ||
< | ||
/ | ||
button | ||
> | ||
< | ||
script | ||
> | ||
' | ||
use | ||
strict | ||
' | ||
; | ||
onload | ||
= | ||
async | ||
( | ||
) | ||
= | ||
> | ||
{ | ||
await | ||
opener | ||
. | ||
opener | ||
. | ||
test_driver | ||
. | ||
click | ||
( | ||
document | ||
. | ||
getElementById | ||
( | ||
" | ||
focus | ||
- | ||
opener | ||
- | ||
button | ||
" | ||
) | ||
) | ||
; | ||
opener | ||
. | ||
postMessage | ||
( | ||
" | ||
current | ||
page | ||
" | ||
" | ||
* | ||
" | ||
) | ||
; | ||
} | ||
; | ||
< | ||
/ | ||
script | ||
> |
Oops, something went wrong.