If we receive a callback while isMainThread() is already true we should execute the callback function directly as AbortableTaskQueue expects isMainThread() to be false.
Pull request: https://github.com/WebKit/WebKit/pull/2329