| Index: Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptPromiseResolver.cpp b/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| index 069cd60599173c880a085a94866449ea290b7169..2e2f7be95ccc5028fb55aa2c270db0724cbefee8 100644
|
| --- a/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| +++ b/Source/bindings/core/v8/ScriptPromiseResolver.cpp
|
| @@ -64,10 +64,6 @@ void ScriptPromiseResolver::resolveOrRejectImmediately()
|
| ASSERT(!executionContext()->activeDOMObjectsAreStopped());
|
| ASSERT(!executionContext()->activeDOMObjectsAreSuspended());
|
| {
|
| - // FIXME: The V8RecursionScope is only necessary to force microtask delivery for promises
|
| - // resolved or rejected in workers. It can be removed once worker threads run microtasks
|
| - // at the end of every task (rather than just the main thread).
|
| - V8RecursionScope scope(m_scriptState->isolate(), m_scriptState->executionContext());
|
| if (m_state == Resolving) {
|
| m_resolver.resolve(m_value.newLocal(m_scriptState->isolate()));
|
| } else {
|
|
|