/** * Creates a new MessageQueueThread for a background web worker owned by the JS thread with the * given MessageQueueThread. */ @DoNotStrip public static MessageQueueThread createWebWorkerThread(int id, MessageQueueThread ownerThread) { return MessageQueueThreadImpl.startNewBackgroundThread( "web-worker-" + id, new ProxyQueueThreadExceptionHandler(ownerThread)); }