Skip to content

Commit

Permalink
Bug 1492746 [wpt PR 13102] - Several fixes to manual fullscreen tests…
Browse files Browse the repository at this point in the history
…, a=testonly

Automatic update from web-platform-testsSeveral fixes to manual fullscreen tests (#13102)

These tests are made to start after onload so that iframe content
doesn't change anymore:
* fullscreen/api/element-ready-check-containing-iframe-manual.html
* fullscreen/api/element-ready-check-not-allowed-manual.html
* fullscreen/api/element-request-fullscreen-and-exit-iframe-manual.html
* fullscreen/model/move-to-fullscreen-iframe-manual.html

fullscreen/rendering/ua-style-iframe-manual.html is updated to check
each subproperties individually rather than shorthand properties.

fullscreen/api/element-request-fullscreen-timing-manual.html is changed
so that the second test starts after an animation frame to work around
Gecko throttling rAF before the first paint.

Related bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1493878
w3c/csswg-drafts#2529
--

wpt-commits: b3c7bf4261939cd1aba9b3264152a718b634ffa7
wpt-pr: 13102

UltraBlame original commit: 4c97e39c26a7f0ea4a0714fc8a7c77e21734ed0e
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent ed21faa commit 86af6bd
Show file tree
Hide file tree
Showing 6 changed files with 291 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,31 @@
<
script
>
/
/
wait
for
load
event
to
avoid
https
:
/
/
bugzil
.
la
/
1493878
window
.
onload
=
function
(
)
{
async_test
(
function
Expand Down Expand Up @@ -240,6 +265,8 @@
}
)
;
}
;
<
/
script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,31 @@
<
script
>
/
/
wait
for
load
event
to
avoid
https
:
/
/
bugzil
.
la
/
1493878
window
.
onload
=
function
(
)
{
async_test
(
function
Expand Down Expand Up @@ -201,6 +226,8 @@
}
)
;
}
;
<
/
script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,31 @@
<
script
>
/
/
wait
for
load
event
to
avoid
https
:
/
/
bugzil
.
la
/
1493878
window
.
onload
=
function
(
)
{
async_test
(
t
Expand Down Expand Up @@ -393,6 +418,8 @@
}
)
;
}
;
<
/
script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,37 @@
=
>
{
/
/
Gecko
throttles
requestAnimationFrame
before
the
first
paint
so
/
/
wrap
the
test
to
work
around
that
.
requestAnimationFrame
(
t
.
step_func
(
(
)
=
>
{
var
promise
=
Expand Down Expand Up @@ -427,6 +458,10 @@
)
;
}
)
)
;
}
'
Timing
of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,31 @@
<
script
>
/
/
wait
for
load
event
to
avoid
https
:
/
/
bugzil
.
la
/
1493878
window
.
onload
=
function
(
)
{
async_test
(
t
Expand Down Expand Up @@ -380,6 +405,8 @@
}
)
;
}
;
<
/
script
Expand Down
Loading

0 comments on commit 86af6bd

Please sign in to comment.