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

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: 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..94d4910bcd818f250b3bfc208b92ff85d5c4d8f5 100644
--- a/Source/bindings/v8/V8RecursionScope.cpp
+++ b/Source/bindings/v8/V8RecursionScope.cpp
@@ -40,11 +40,11 @@ void V8RecursionScope::didLeaveScriptContext()
{
// FIXME: Instrument any work that takes place when script exits to c++ (e.g. Mutation Observers).
adamk 2014/06/05 22:20:45 I think this FIXME is super-old and should go away
+ 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