Here's a variant on the testcase, the two workers getting slightly-different code & with some logging added, in case it makes it slightly easier to follow what's going on when debugging. This doesn't crash 100% of the time in a debug build, but it often does (potentially after a bit of a wait; it uses `setInterval` to try again until we crash). I captured a crash with this testcase in rr and am submitting it to pernosco.
Bug 1793379 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Here's a variant on the testcase, with the two workers getting slightly-different code & with some logging added, in case it makes it slightly easier to follow what's going on when debugging. This doesn't crash 100% of the time in a debug build, but it often does (potentially after a bit of a wait; it uses `setInterval` to try again until we crash). I captured a crash with this testcase in rr and am submitting it to pernosco.