Changeset 139929 in webkit
- Timestamp:
- Jan 16, 2013 3:11:07 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139928 r139929 1 2013-01-16 Joshua Bell <jsbell@chromium.org> 2 3 IndexedDB: Possible null ScriptExecutionContext passed to callbacks during frame destruction 4 https://bugs.webkit.org/show_bug.cgi?id=107050 5 6 Reviewed by Tony Chang. 7 8 Temporary code to defend against null contexts. Will either refute a hypothesis, or we'll 9 need to make a more systemic fix elsewhere. Either way it will be removed in a few days. 10 We're unable to repro, but watching crash reports from users. One possible source is 11 that during page tear-down WorkerScriptController::controllerForContext() returns null 12 (there's a comment about that case) leading to a null context. 13 14 No new tests - this shouldn't be happening. 15 16 * Modules/indexeddb/IDBObjectStore.cpp: 17 (WebCore::IDBObjectStore::createIndex): 18 1 19 2013-01-16 Kenneth Russell <kbr@google.com> 2 20 -
trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp
r139666 r139929 357 357 { 358 358 IDB_TRACE("IDBObjectStore::createIndex"); 359 // FIXME: Temporary code to determine if null contexts are plausible during frame destruction. 360 // https://bugs.webkit.org/show_bug.cgi?id=107050 361 ASSERT(context); 362 if (!context) 363 return 0; 364 359 365 if (!m_transaction->isVersionChange() || m_deleted) { 360 366 ec = IDBDatabaseException::InvalidStateError;
Note: See TracChangeset
for help on using the changeset viewer.