Changeset 283283 in webkit
- Timestamp:
- Sep 29, 2021, 4:56:07 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/ios-wk2/TestExpectations (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r283279 r283283 1 2021-09-29 Chris Dumez <cdumez@apple.com> 2 3 [ iOS Debug ] http/tests/xmlhttprequest/access-control-preflight-credential-sync.html is a flaky crash 4 https://bugs.webkit.org/show_bug.cgi?id=228305 5 <rdar://problem/81136891> 6 7 Reviewed by Alex Christensen. 8 9 Unskip test that should no longer be flaky. 10 11 * platform/ios-wk2/TestExpectations: 12 1 13 2021-09-29 Kiet Ho <tho22@apple.com> 2 14 -
trunk/LayoutTests/platform/ios-wk2/TestExpectations
r283267 r283283 1909 1909 webkit.org/b/215350 http/tests/xmlhttprequest/overridemimetype-headers-received-state-force-shiftjis.html [ Pass Timeout ] 1910 1910 1911 webkit.org/b/228305 [ Debug ] http/tests/xmlhttprequest/access-control-preflight-credential-sync.html [ Pass Crash ]1912 1913 1911 webkit.org/b/215351 http/wpt/service-workers/module-meta-url-fragment.https.html [ Pass Failure ] 1914 1912 -
trunk/Source/WebKit/ChangeLog
r283280 r283283 1 2021-09-29 Chris Dumez <cdumez@apple.com> 2 3 [ iOS Debug ] http/tests/xmlhttprequest/access-control-preflight-credential-sync.html is a flaky crash 4 https://bugs.webkit.org/show_bug.cgi?id=228305 5 <rdar://problem/81136891> 6 7 Reviewed by Alex Christensen. 8 9 When a NetworkResourceLoader for a synchronous XHR gets aborted (e.g. because the connection to 10 the WebProcess was severed), NetworkResourceLoader::abort() would fail to call 11 sendReplyToSynchronousRequest() (sendReplyToSynchronousRequest was only called in didFailLoading() and 12 didFinishLoading()). As a result, we would hit the following assertion in the NetworkResourceLoader 13 destructor later on: ASSERT(!isSynchronous() || !m_synchronousLoadData->delayedReply) 14 15 No new tests, covered by existing test that I am unskipping. 16 17 * NetworkProcess/NetworkResourceLoader.cpp: 18 (WebKit::NetworkResourceLoader::abort): 19 1 20 2021-09-29 Sihui Liu <sihui_liu@apple.com> 2 21 -
trunk/Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp
r283179 r283283 524 524 } 525 525 526 if (isSynchronous()) { 527 m_synchronousLoadData->error = ResourceError { ResourceError::Type::Cancellation }; 528 sendReplyToSynchronousRequest(*m_synchronousLoadData, nullptr, { }); 529 } 530 526 531 cleanup(LoadResult::Cancel); 527 532 }
Note:
See TracChangeset
for help on using the changeset viewer.