| 42 | auto onmessage = |
| 43 | entry.jsContext.getObjectProperty(globalObj.get(), onMessageKey.toStringView(), entry.exceptionTracker); |
| 44 | return entry.jsContext.isValueFunction(onmessage.get()) ? std::move(onmessage) : entry.jsContext.newUndefined(); |
| 45 | } |
| 46 | |
| 47 | const StringBox& JavaScriptWorker::getSendANRAttribution() const { |
| 48 | return _sendANRAttribution; |
| 49 | } |
| 50 | |
| 51 | void JavaScriptWorker::postInit() { |
| 52 | constexpr auto reason = JsThreadDispatchReason::WorkerPostInit; |
nothing calls this directly
no test coverage detected