Changeset 256317 in webkit
- Timestamp:
- Feb 11, 2020 10:26:51 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r256316 r256317 1 2020-02-11 Youenn Fablet <youenn@apple.com> 2 3 REGRESSION (r256009): [ Mojave wk2 Debug ] ASSERTION FAILED: Completion handler should always be called under WebKit::WebMDNSRegister::PendingRegistration 4 https://bugs.webkit.org/show_bug.cgi?id=207521 5 <rdar://problem/59331313> 6 7 Reviewed by Eric Carlson. 8 9 * platform/mac-wk2/TestExpectations: 10 1 11 2020-02-11 Jacob Uphoff <jacob_uphoff@apple.com> 2 12 -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r256231 r256317 1015 1015 1016 1016 webkit.org/b/207518 tiled-drawing/simple-document-with-margin-tiles.html [ Pass Failure ] 1017 1018 webkit.org/b/207521 [ Mojave Debug ] webrtc/peerconnection-page-cache-long.html [ Pass Crash ] -
trunk/Source/WebKit/ChangeLog
r256315 r256317 1 2020-02-11 Youenn Fablet <youenn@apple.com> 2 3 REGRESSION (r256009): [ Mojave wk2 Debug ] ASSERTION FAILED: Completion handler should always be called under WebKit::WebMDNSRegister::PendingRegistration 4 https://bugs.webkit.org/show_bug.cgi?id=207521 5 <rdar://problem/59331313> 6 7 Reviewed by Eric Carlson. 8 9 Covered by debug assertion not hit in layout tests. 10 11 * WebProcess/Network/webrtc/WebMDNSRegister.cpp: 12 (WebKit::WebMDNSRegister::finishedRegisteringMDNSName): 13 Call completion handler even if the document entry has been cleared, which can happen in suspend/destruction case. 14 If the entry is not there, all MDNS names for the document have been unregistered. We then report a registration error. 15 1 16 2020-02-11 Alex Christensen <achristensen@webkit.org> 2 17 -
trunk/Source/WebKit/WebProcess/Network/webrtc/WebMDNSRegister.cpp
r249980 r256317 45 45 if (result.has_value()) { 46 46 auto iterator = m_registeringDocuments.find(pendingRegistration.documentIdentifier); 47 if (iterator == m_registeringDocuments.end()) 47 if (iterator == m_registeringDocuments.end()) { 48 pendingRegistration.callback(makeUnexpected(WebCore::MDNSRegisterError::DNSSD)); 48 49 return; 50 } 49 51 iterator->value.add(pendingRegistration.ipAddress, result.value()); 50 52 }
Note: See TracChangeset
for help on using the changeset viewer.