gecko-dev/dom/media/webcodecs/crashtests
Chun-Min Chang 287bbfa3f7 Bug 1897631 - Add testcase r=media-playback-reviewers,padenot
This patch introduces a test that simulates the steps outlined in bug
1897631 to reproduce a crash caused by the absence of the parent global
object. The parent object goes away when the page is refreshed, while
there are pending encoder or decoder output callbacks queued for
execution. In such cases, when these output callbacks are executed, they
fail to create the necessary WebCodecs elements due to lack of the
required parent global objects. Those objects were removed during the
page reload.

However, one drawback of using a page refresh in the test is that it
doesn't guarantee the crash will occur 100% of the time. There is a
slight chance the test will pass by luck. Nevertheless, having a test
that works 90% of the time is better than having no test at all.

Differential Revision: https://phabricator.services.mozilla.com/D211470
2024-05-24 16:40:14 +00:00
..
1839270.html
1848460.html
1849271.html
1864475.html
1881079.html
1889831.html
1891117.html Bug 1891117 - Add testcase r=media-playback-reviewers,padenot 2024-05-23 05:21:17 +00:00
1897631.html Bug 1897631 - Add testcase r=media-playback-reviewers,padenot 2024-05-24 16:40:14 +00:00
crashtests.list Bug 1897631 - Add testcase r=media-playback-reviewers,padenot 2024-05-24 16:40:14 +00:00