Skip to content

Commit

Permalink
Bug 1609532 [wpt PR 21206] - Test entry and incumbent settings object…
Browse files Browse the repository at this point in the history
… 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
marco-c committed Feb 18, 2020
1 parent 8f7301f commit d119be1
Show file tree
Hide file tree
Showing 15 changed files with 3,811 additions and 0 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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
.
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
>
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
>
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
>
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
>
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
>
Loading

0 comments on commit d119be1

Please sign in to comment.