Index: Source/bindings/v8/V8RecursionScope.cpp |
diff --git a/Source/bindings/v8/V8RecursionScope.cpp b/Source/bindings/v8/V8RecursionScope.cpp |
index 2519250f28f76a8745a338df891dce29b1231454..d59765274ae476e156c8736787129bdc3cc13e08 100644 |
--- a/Source/bindings/v8/V8RecursionScope.cpp |
+++ b/Source/bindings/v8/V8RecursionScope.cpp |
@@ -38,11 +38,13 @@ namespace WebCore { |
void V8RecursionScope::didLeaveScriptContext() |
{ |
- Microtask::performCheckpoint(); |
+ // FIXME: Instrument any work that takes place when script exits to c++ (e.g. Mutation Observers). |
// Indexed DB requires that transactions are created with an internal |active| flag |
// set to true, but the flag becomes false when control returns to the event loop. |
IDBPendingTransactionMonitor::from(m_executionContext).deactivateNewTransactions(); |
+ |
+ Microtask::performCheckpoint(); |
} |
} // namespace WebCore |