Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: Source/bindings/v8/V8RecursionScope.cpp

Issue 321433002: IndexedDB: Ensure transactions created in microtasks are deactivated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove racy assertion Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/storage/indexeddb/microtasks-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8RecursionScope.cpp
diff --git a/Source/bindings/v8/V8RecursionScope.cpp b/Source/bindings/v8/V8RecursionScope.cpp
index d59765274ae476e156c8736787129bdc3cc13e08..2519250f28f76a8745a338df891dce29b1231454 100644
--- a/Source/bindings/v8/V8RecursionScope.cpp
+++ b/Source/bindings/v8/V8RecursionScope.cpp
@@ -38,13 +38,11 @@ namespace WebCore {
void V8RecursionScope::didLeaveScriptContext()
{
- // FIXME: Instrument any work that takes place when script exits to c++ (e.g. Mutation Observers).
+ Microtask::performCheckpoint();
// 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
« no previous file with comments | « LayoutTests/storage/indexeddb/microtasks-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698