Changeset 244674 in webkit
- Timestamp:
- Apr 25, 2019 6:58:33 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r244661 r244674 1 2019-04-25 Sihui Liu <sihui_liu@apple.com> 2 3 [ iOS Sim ] REGRESSION (r242986) Layout Test storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=196357 5 <rdar://problem/49386836> 6 7 Reviewed by Geoffrey Garen. 8 9 * platform/ios-simulator-wk2/TestExpectations: 10 * platform/mac-wk2/TestExpectations: 11 * platform/mac/TestExpectations: 12 1 13 2019-04-25 Shawn Roberts <sroberts@apple.com> 2 14 -
trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations
r244650 r244674 76 76 webkit.org/b/196112 imported/w3c/web-platform-tests/mathml/relations/css-styling/mathvariant-italic.html [ Pass ImageOnlyFailure ] 77 77 78 webkit.org/b/196357 storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html [ Pass Failure ]79 80 78 http/wpt/cache-storage/quota-third-party.https.html [ Slow ] 81 79 http/wpt/fetch/response-opaque-clone.html [ Slow ] -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r244651 r244674 674 674 webkit.org/b/171837 [ Debug ] http/tests/security/storage-blocking-loosened-plugin.html [ Pass Failure ] 675 675 676 webkit.org/b/171862 storage/indexeddb/modern/idbtransaction-objectstore-failures.html [ Pass Failure ]677 678 676 webkit.org/b/171935 [ Sierra ] tiled-drawing/scrolling/fast-scroll-select-latched-mainframe.html [ Pass Failure ] 679 677 -
trunk/LayoutTests/platform/mac/TestExpectations
r244424 r244674 1594 1594 webkit.org/b/165311 [ Sierra+ ] media/modern-media-controls/pip-support/pip-support-click.html [ Pass Failure ] 1595 1595 1596 webkit.org/b/176693 storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html [ Pass Failure ]1597 1598 1596 # User-installed font infrastructure is ony present on certain OSes. 1599 1597 webkit.org/b/180062 [ Sierra HighSierra ] fast/text/user-installed-fonts/disable.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r244673 r244674 1 2019-04-25 Sihui Liu <sihui_liu@apple.com> 2 3 [ iOS Sim ] REGRESSION (r242986) Layout Test storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=196357 5 <rdar://problem/49386836> 6 7 Reviewed by Geoffrey Garen. 8 9 Dispatch IDBRequest event to IDBTransaction if event of IDBTransaction has not been dispatched. 10 11 Covered by existing tests. 12 13 * Modules/indexeddb/IDBRequest.cpp: 14 (WebCore::IDBRequest::dispatchEvent): 15 * Modules/indexeddb/IDBTransaction.cpp: 16 (WebCore::IDBTransaction::dispatchEvent): 17 * Modules/indexeddb/IDBTransaction.h: 18 1 19 2019-04-25 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp
r244436 r244674 319 319 if (&event == m_openDatabaseSuccessEvent) 320 320 m_openDatabaseSuccessEvent = nullptr; 321 else if (m_transaction && !m_transaction-> isFinished())321 else if (m_transaction && !m_transaction->didDispatchAbortOrCommit()) 322 322 targets = { this, m_transaction.get(), &m_transaction->database() }; 323 323 -
trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
r244436 r244674 642 642 643 643 EventDispatcher::dispatchEvent({ this, m_database.ptr() }, event); 644 m_didDispatchAbortOrCommit = true; 644 645 645 646 if (isVersionChange()) { -
trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h
r243887 r244674 147 147 bool isFinishedOrFinishing() const; 148 148 bool isFinished() const { return m_state == IndexedDB::TransactionState::Finished; } 149 bool didDispatchAbortOrCommit() const { return m_didDispatchAbortOrCommit; } 149 150 150 151 IDBClient::IDBConnectionProxy& connectionProxy(); … … 262 263 263 264 bool m_contextStopped { false }; 265 bool m_didDispatchAbortOrCommit { false }; 264 266 }; 265 267
Note: See TracChangeset
for help on using the changeset viewer.