is a flakey text failure in macOS Debug.
Most recently, the failures have been more common in BigSur on Apple Silicon Macs. However, the test has been flakey for a while, and has occurred in BigSur Debug on Intel, as well as in Catalina egpu process.
-PASS Long tasks should not trigger load timeout
+FAIL Long tasks should not trigger load timeout assert_unreached: [object XMLHttpRequestProgressEvent] Reached unreachable code
Test is extremely flakey on Apple Silicon, and even more so on Intel. I did attempt to reproduce it, but was unable to on my Intel Mac. I would try on an Apple Silicon Mac, but I don't have access to such a machine.
Updated test expectations to Pass Failure here:
It might be that the load does not complete in 100 ms as the debug bot is slow, there is only 50ms to do this before hitting the timeout.
We could try reducing load delay to 10 ms, but I am not sure 140ms will be sufficient anyway in debug.
I think we can either skip the test in Debug or leave it as Pass/Failure.
Pass/Failure is probably good enough.