We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fe42b commit 91d1f15Copy full SHA for 91d1f15
Source/JavaScriptCore/API/tests/testapi.cpp
@@ -35,6 +35,7 @@
35
#include <wtf/Expected.h>
36
#include <wtf/Noncopyable.h>
37
#include <wtf/NumberOfCores.h>
38
+#include <wtf/MainThread.h>
39
#include <wtf/Vector.h>
40
#include <wtf/text/MakeString.h>
41
#include <wtf/text/StringCommon.h>
@@ -1184,6 +1185,7 @@ void TestAPI::testBigInt()
1184
1185
1186
void configureJSCForTesting()
1187
{
1188
+ WTF::initializeMainThread();
1189
JSC::Config::configureForTesting();
1190
JSC::Options::machExceptionHandlerSandboxPolicy = JSC::Options::SandboxPolicy::Allow;
1191
}
0 commit comments