testapi This test is flaky failing for a long time in history. I do not have a regression point. History: https://results.webkit.org/?suite=javascriptcore-tests&test=testapi build: https://build.webkit.org/#/builders/378/builds/1036
<rdar://problem/92975620>
I'm not entirely sure how to interpret testapi output, but looks like there is more that one failure: callback should receive rejected promise as first argument: FAILED callback should receive rejection reason as second argument: FAILED callback should not receive a third argument: PASSED C-API tests in C++ had 2 failures ASSERTION FAILED: !testCAPIViaCpp(filter) /Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Source/JavaScriptCore/API/tests/testapi.c(1409) : int main(int, char **) 1 0x112cb4ab0 WTFCrash 2 0x100823f80 main 3 0x100ced088
I've also seen this fail intermittently on a Release build on M1 (when testapi is run while some heavy load is running in the background like a WebKit build). I've never seen it on a Debug build yet.
*** Bug 240804 has been marked as a duplicate of this bug. ***
Created attachment 459688 [details] Patch
Comment on attachment 459688 [details] Patch LGTM
Created attachment 459728 [details] Patch for landing
https://github.com/WebKit/WebKit/pull/989
Committed r294811 (250965@main): <https://commits.webkit.org/250965@main> Reviewed commits have been landed. Closing PR #989 and removing active labels.