Bug 1736663 [wpt PR 31317] - Increase timeout in webmessaging/MessagePort_onmessage_start.any.work…, a=testonly

Automatic update from web-platform-tests
Increase timeout in webmessaging/MessagePort_onmessage_start.any.js

This test was flaky on slower iOS debug similator configurations because of its short 100ms timeout. Bump the timeout to 1 second.
--

wpt-commits: 1fed135a400083e9e877245a983bef123bcfe514
wpt-pr: 31317
This commit is contained in:
Chris Dumez 2021-10-28 10:22:49 +00:00 committed by moz-wptsync-bot
parent 5f8246a87e
commit e21df2ad21

View File

@ -6,5 +6,5 @@ async_test(function(t) {
var channel = new MessageChannel();
channel.port2.onmessage = t.step_func_done();
channel.port1.postMessage("ping");
setTimeout(t.unreached_func(), 100);
t.step_timeout(t.unreached_func(), 1000);
});