Skip to content

Commit 86af6bd

Browse files
committed
Bug 1492746 [wpt PR 13102] - Several fixes to manual fullscreen tests, 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
1 parent ed21faa commit 86af6bd

6 files changed

Lines changed: 291 additions & 16 deletions

‎testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.html‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,31 @@
100100
<
101101
script
102102
>
103+
/
104+
/
105+
wait
106+
for
107+
load
108+
event
109+
to
110+
avoid
111+
https
112+
:
113+
/
114+
/
115+
bugzil
116+
.
117+
la
118+
/
119+
1493878
120+
window
121+
.
122+
onload
123+
=
124+
function
125+
(
126+
)
127+
{
103128
async_test
104129
(
105130
function
@@ -240,6 +265,8 @@
240265
}
241266
)
242267
;
268+
}
269+
;
243270
<
244271
/
245272
script

‎testing/web-platform/tests/fullscreen/api/element-ready-check-not-allowed-manual.html‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,31 @@
9393
<
9494
script
9595
>
96+
/
97+
/
98+
wait
99+
for
100+
load
101+
event
102+
to
103+
avoid
104+
https
105+
:
106+
/
107+
/
108+
bugzil
109+
.
110+
la
111+
/
112+
1493878
113+
window
114+
.
115+
onload
116+
=
117+
function
118+
(
119+
)
120+
{
96121
async_test
97122
(
98123
function
@@ -201,6 +226,8 @@
201226
}
202227
)
203228
;
229+
}
230+
;
204231
<
205232
/
206233
script

‎testing/web-platform/tests/fullscreen/api/element-request-fullscreen-and-exit-iframe-manual.html‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,31 @@
9999
<
100100
script
101101
>
102+
/
103+
/
104+
wait
105+
for
106+
load
107+
event
108+
to
109+
avoid
110+
https
111+
:
112+
/
113+
/
114+
bugzil
115+
.
116+
la
117+
/
118+
1493878
119+
window
120+
.
121+
onload
122+
=
123+
function
124+
(
125+
)
126+
{
102127
async_test
103128
(
104129
t
@@ -393,6 +418,8 @@
393418
}
394419
)
395420
;
421+
}
422+
;
396423
<
397424
/
398425
script

‎testing/web-platform/tests/fullscreen/api/element-request-fullscreen-timing-manual.html‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,37 @@
289289
=
290290
>
291291
{
292+
/
293+
/
294+
Gecko
295+
throttles
296+
requestAnimationFrame
297+
before
298+
the
299+
first
300+
paint
301+
so
302+
/
303+
/
304+
wrap
305+
the
306+
test
307+
to
308+
work
309+
around
310+
that
311+
.
312+
requestAnimationFrame
313+
(
314+
t
315+
.
316+
step_func
317+
(
318+
(
319+
)
320+
=
321+
>
322+
{
292323
var
293324
promise
294325
=
@@ -427,6 +458,10 @@
427458
)
428459
;
429460
}
461+
)
462+
)
463+
;
464+
}
430465
'
431466
Timing
432467
of

‎testing/web-platform/tests/fullscreen/model/move-to-fullscreen-iframe-manual.html‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,31 @@
8484
<
8585
script
8686
>
87+
/
88+
/
89+
wait
90+
for
91+
load
92+
event
93+
to
94+
avoid
95+
https
96+
:
97+
/
98+
/
99+
bugzil
100+
.
101+
la
102+
/
103+
1493878
104+
window
105+
.
106+
onload
107+
=
108+
function
109+
(
110+
)
111+
{
87112
async_test
88113
(
89114
t
@@ -380,6 +405,8 @@
380405
}
381406
)
382407
;
408+
}
409+
;
383410
<
384411
/
385412
script

0 commit comments

Comments
 (0)