Changeset 255329 in webkit
- Timestamp:
- Jan 28, 2020 5:39:47 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r255323 r255329 1 2020-01-28 Chris Dumez <cdumez@apple.com> 2 3 REGRESSION (r252064): [ Mac iOS ] storage/websql/statement-error-callback.html is timing out flakily 4 https://bugs.webkit.org/show_bug.cgi?id=206291 5 <rdar://problem/58606666> 6 7 Reviewed by Maciej Stachowiak. 8 9 Unskip test that is no longer flaky. 10 11 * platform/ios/TestExpectations: 12 * platform/mac/TestExpectations: 13 1 14 2020-01-28 Jacob Uphoff <jacob_uphoff@apple.com> 2 15 -
trunk/LayoutTests/platform/ios/TestExpectations
r255274 r255329 3460 3460 webkit.org/b/200043 fast/text/international/system-language/navigator-language [ Pass Failure ] 3461 3461 3462 webkit.org/b/206291 storage/websql/statement-error-callback.html [ Pass Timeout ]3463 3464 3462 webkit.org/b/203222 svg/wicd/rightsizing-grid.xhtml [ Pass Failure ] 3465 3463 -
trunk/LayoutTests/platform/mac/TestExpectations
r255274 r255329 1935 1935 webkit.org/b/77568 [ Sierra HighSierra Mojave ] fast/text/locale-shaping-complex.html [ ImageOnlyFailure ] 1936 1936 1937 webkit.org/b/206291 storage/websql/statement-error-callback.html [ Pass Timeout ]1938 1939 1937 webkit.org/b/203222 svg/wicd/rightsizing-grid.xhtml [ Pass Failure ] 1940 1938 -
trunk/Source/WebCore/ChangeLog
r255322 r255329 1 2020-01-28 Chris Dumez <cdumez@apple.com> 2 3 REGRESSION (r252064): [ Mac iOS ] storage/websql/statement-error-callback.html is timing out flakily 4 https://bugs.webkit.org/show_bug.cgi?id=206291 5 <rdar://problem/58606666> 6 7 Reviewed by Maciej Stachowiak. 8 9 I found that extending the lifetime of the SQLTransaction by capturing protectedThis in the event loop 10 task was the source of the flaky timeouts & crashes. Queueing this event loop task in 11 notifyDatabaseThreadIsShuttingDown() is actually not necessary because calling callErrorCallbackDueToInterruption() 12 directly would schedule the event loop task for us. Also, in callErrorCallbackDueToInterruption(), 13 the event loop task only keeps the error callback alive, not just the SQLTransaction object. 14 15 No new tests, unskipped existing test. 16 17 * Modules/webdatabase/SQLTransaction.cpp: 18 (WebCore::SQLTransaction::notifyDatabaseThreadIsShuttingDown): 19 1 20 2020-01-28 Tim Horton <timothy_horton@apple.com> 2 21 -
trunk/Source/WebCore/Modules/webdatabase/SQLTransaction.cpp
r252824 r255329 129 129 { 130 130 callOnMainThread([this, protectedThis = makeRef(*this)]() mutable { 131 m_database->document().eventLoop().queueTask(TaskSource::Networking, [this, protectedThis = protectedThis.copyRef()]() mutable { 132 callErrorCallbackDueToInterruption(); 133 }); 131 callErrorCallbackDueToInterruption(); 134 132 }); 135 133
Note: See TracChangeset
for help on using the changeset viewer.