Skip to content

Commit dea3dec

Browse files
committed
Bug 1966211 [wpt PR 52507] - VT interop: Speculative interop fix for a timeout on wpt.fyi,
Automatic update from web-platform-tests VT interop: Speculative interop fix for a timeout on wpt.fyi This patch ensures that we wait for the compositor to be ready before executing the rest of the test. R=keverschromium.org Bug: 394108982 Change-Id: If8a1a5d1fc9823708ce364a095af419187b29d1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6526067 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Vladimir Levin <vmpstrchromium.org> Cr-Commit-Position: refs/heads/main{#1459637} -- wpt-commits: d6d1aff6b0b1c4298175238eb0f869c18bcf3ba8 wpt-pr: 52507 Differential Revision: https://phabricator.services.mozilla.com/D250155 UltraBlame original commit: c66a1b86697765bfb45cb83ecf083490bc4a90f4
1 parent 6284c45 commit dea3dec

File tree

1 file changed

+36
-23
lines changed

1 file changed

+36
-23
lines changed

testing/web-platform/tests/css/css-view-transitions/web-animation-pseudo-incorrect-name.html

Lines changed: 36 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,27 @@
8686
=
8787
"
8888
/
89+
dom
90+
/
91+
events
92+
/
93+
scrolling
94+
/
95+
scroll_support
96+
.
97+
js
98+
"
99+
>
100+
<
101+
/
102+
script
103+
>
104+
<
105+
script
106+
src
107+
=
108+
"
109+
/
89110
resources
90111
/
91112
testharness
@@ -181,14 +202,18 @@
181202
"
182203
)
183204
;
205+
await
206+
waitForCompositorReady
207+
(
208+
)
209+
;
184210
return
185211
new
186212
Promise
187213
(
188214
async
189215
(
190216
resolve
191-
reject
192217
)
193218
=
194219
>
@@ -262,32 +287,20 @@
262287
}
263288
)
264289
;
265-
requestAnimationFrame
290+
assert_true
266291
(
267-
(
268-
)
269-
=
270-
>
271-
{
292+
!
293+
!
272294
animation
273-
.
274-
currentTime
275-
=
276-
200
277-
;
278-
requestAnimationFrame
279-
(
280-
(
281-
)
282-
=
283-
>
284-
requestAnimationFrame
285-
(
286-
resolve
287-
)
295+
"
296+
animation
297+
is
298+
created
299+
"
288300
)
289301
;
290-
}
302+
resolve
303+
(
291304
)
292305
;
293306
}

0 commit comments

Comments
 (0)