imported/w3c/web-platform-tests/preload/onerror-event.html has been a flaky failure on macOS WK1 bots since it was added with https://commits.webkit.org/260462@main. It appears that a console message is coming in out of the expected order. --- /Volumes/Data/worker/Apple-Monterey-Release-WK1-Tests/build/layout-test-results/imported/w3c/web-platform-tests/preload/onerror-event-expected.txt +++ /Volumes/Data/worker/Apple-Monterey-Release-WK1-Tests/build/layout-test-results/imported/w3c/web-platform-tests/preload/onerror-event-actual.txt @@ -2,12 +2,12 @@ CONSOLE MESSAGE: <link rel=preload> cannot have the empty string as `as` value CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/dummy.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/dummy.css was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. -CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/square.png was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/Ahem.ttf was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/test.mp4 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/test.oga was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/security/captions.vtt was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/dummy.xml?fetch was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. +CONSOLE MESSAGE: The resource http://localhost:8800/preload/non-existent/square.png was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. CONSOLE MESSAGE: Error: assert_true: video triggered error event expected true got false FAIL Makes sure that preloaded resources trigger the onerror event Error: assert_true: video triggered error event expected true got false https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fpreload%2Fonerror-event.html
<rdar://problem/107269834>
Pull request: https://github.com/WebKit/WebKit/pull/12009
Test gardening commit 262153@main (4464ceb97d52): <https://commits.webkit.org/262153@main> Reviewed commits have been landed. Closing PR #12009 and removing active labels.