Add testing runnables which may 'hang' a thread or a process for some time or indefinitely.
Categories
(Core :: XPCOM, enhancement, P3)
Tracking
()
People
(Reporter: smaug, Assigned: aiunusov)
References
Details
Attachments
(1 file)
We have landed various changes to hopefully fix some shutdown (of workers, content processes, parent process) issues, but we have no good ways to test it all, and that would be very valuable especially to catch regressions.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
•
|
||
Assignee | ||
Comment 2•1 year ago
|
||
https://searchfox.org/mozilla-central/source/dom/webidl/TestUtils.webidl#12
undefined dispatchSlowTask(unsigned long sleepTime);
https://searchfox.org/mozilla-central/source/dom/base/TestUtils.cpp
we could expose testing runnable in that way
Assignee | ||
Comment 3•10 months ago
|
||
Comment 4•10 months ago
|
||
(In reply to Artur Iunusov from comment #2)
https://searchfox.org/mozilla-central/source/dom/webidl/TestUtils.webidl#12
undefined dispatchSlowTask(unsigned long sleepTime);https://searchfox.org/mozilla-central/source/dom/base/TestUtils.cpp
we could expose testing runnable in that way
Note that it has a spec for WPT purpose: https://testutils.spec.whatwg.org
Description
•