-
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 1609532 [wpt PR 21206] - Test entry and incumbent settings object…
… for promise jobs, a=testonly Automatic update from web-platform-tests Test entry and incumbent settings object for promise jobs Follows whatwg/html#5212 and whatwg/html#5213. -- wpt-commits: bc4ddbbddc566c3602d1af8d73c0225f8335855d wpt-pr: 21206 UltraBlame original commit: 3017b5083bf29149178a2c1357796936a5a95065
- Loading branch information
Showing
15 changed files
with
3,633 additions
and
0 deletions.
There are no files selected for viewing
847 changes: 847 additions & 0 deletions
847
...integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html
Large diffs are not rendered by default.
Oops, something went wrong.
762 changes: 762 additions & 0 deletions
762
...pting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html
Large diffs are not rendered by default.
Oops, something went wrong.
1,152 changes: 1,152 additions & 0 deletions
1,152
...g/processing-model-2/integration-with-the-javascript-job-queue/promise-job-incumbent.html
Large diffs are not rendered by default.
Oops, something went wrong.
94 changes: 94 additions & 0 deletions
94
...rocessing-model-2/integration-with-the-javascript-job-queue/resources/README.md
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,94 @@ | ||
A | ||
couple | ||
notes | ||
about | ||
the | ||
files | ||
scattered | ||
in | ||
this | ||
resources | ||
/ | ||
directory | ||
: | ||
* | ||
The | ||
nested | ||
directory | ||
structure | ||
is | ||
necessary | ||
here | ||
so | ||
that | ||
relative | ||
URL | ||
resolution | ||
can | ||
be | ||
tested | ||
; | ||
we | ||
need | ||
different | ||
sub | ||
- | ||
paths | ||
for | ||
each | ||
document | ||
. | ||
* | ||
The | ||
semi | ||
- | ||
duplicate | ||
window | ||
- | ||
to | ||
- | ||
open | ||
. | ||
html | ||
s | ||
scattered | ||
throughout | ||
are | ||
present | ||
because | ||
Firefox | ||
at | ||
least | ||
does | ||
not | ||
fire | ||
Window | ||
load | ||
events | ||
for | ||
404s | ||
so | ||
we | ||
want | ||
to | ||
ensure | ||
that | ||
no | ||
matter | ||
which | ||
global | ||
is | ||
used | ||
window | ||
' | ||
s | ||
load | ||
event | ||
is | ||
hit | ||
and | ||
our | ||
tests | ||
can | ||
proceed | ||
. |
29 changes: 29 additions & 0 deletions
29
...ocessing-model-2/integration-with-the-javascript-job-queue/resources/current/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,29 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
Current | ||
page | ||
used | ||
as | ||
a | ||
test | ||
helper | ||
< | ||
/ | ||
title | ||
> |
34 changes: 34 additions & 0 deletions
34
...integration-with-the-javascript-job-queue/resources/current/resources/window-to-open.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,34 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
If | ||
the | ||
current | ||
settings | ||
object | ||
is | ||
used | ||
this | ||
page | ||
will | ||
be | ||
opened | ||
< | ||
/ | ||
title | ||
> |
34 changes: 34 additions & 0 deletions
34
...essing-model-2/integration-with-the-javascript-job-queue/resources/function/function.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,34 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
Realm | ||
for | ||
a | ||
" | ||
then | ||
" | ||
function | ||
used | ||
as | ||
a | ||
test | ||
helper | ||
< | ||
/ | ||
title | ||
> |
36 changes: 36 additions & 0 deletions
36
...ntegration-with-the-javascript-job-queue/resources/function/resources/window-to-open.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,36 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
If | ||
the | ||
function | ||
' | ||
s | ||
settings | ||
object | ||
is | ||
used | ||
this | ||
page | ||
will | ||
be | ||
opened | ||
< | ||
/ | ||
title | ||
> |
137 changes: 137 additions & 0 deletions
137
...el-2/integration-with-the-javascript-job-queue/resources/promise-job-entry-incumbent.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,137 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
meta | ||
charset | ||
= | ||
" | ||
utf | ||
- | ||
8 | ||
" | ||
> | ||
< | ||
title | ||
> | ||
Incumbent | ||
page | ||
used | ||
as | ||
a | ||
test | ||
helper | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
iframe | ||
src | ||
= | ||
" | ||
relevant | ||
/ | ||
relevant | ||
. | ||
html | ||
" | ||
id | ||
= | ||
" | ||
r | ||
" | ||
> | ||
< | ||
/ | ||
iframe | ||
> | ||
< | ||
iframe | ||
src | ||
= | ||
" | ||
current | ||
/ | ||
current | ||
. | ||
html | ||
" | ||
id | ||
= | ||
" | ||
c | ||
" | ||
> | ||
< | ||
/ | ||
iframe | ||
> | ||
< | ||
script | ||
> | ||
const | ||
relevant | ||
= | ||
document | ||
. | ||
querySelector | ||
( | ||
" | ||
# | ||
r | ||
" | ||
) | ||
; | ||
const | ||
current | ||
= | ||
document | ||
. | ||
querySelector | ||
( | ||
" | ||
# | ||
c | ||
" | ||
) | ||
; | ||
window | ||
. | ||
runWindowOpenVeryIndirectly | ||
= | ||
( | ||
. | ||
. | ||
. | ||
args | ||
) | ||
= | ||
> | ||
{ | ||
return | ||
current | ||
. | ||
contentWindow | ||
. | ||
open | ||
. | ||
call | ||
( | ||
relevant | ||
. | ||
contentWindow | ||
. | ||
. | ||
. | ||
args | ||
) | ||
; | ||
} | ||
; | ||
< | ||
/ | ||
script | ||
> |
Oops, something went wrong.