RESOLVED FIXED 190474
Regression(PSON): Deal with the drawing area potentially being null under WebChromeClient::contentsSizeChanged()
https://bugs.webkit.org/show_bug.cgi?id=190474
Summary Regression(PSON): Deal with the drawing area potentially being null under Web...
Chris Dumez
Reported 2018-10-11 09:09:24 PDT
Deal with the drawing area potentially being null under WebChromeClient::contentsSizeChanged(): Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.WebKit 0x0000000106858c6d WebKit::WebChromeClient::contentsSizeChanged(WebCore::Frame&, WebCore::IntSize const&) const + 333 (WebChromeClient.cpp:600) 1 com.apple.WebCore 0x0000000117de28c9 WebCore::Chrome::contentsSizeChanged(WebCore::Frame&, WebCore::IntSize const&) const + 73 (Chrome.cpp:136) 2 com.apple.WebCore 0x0000000117e68d6c WebCore::FrameView::setContentsSize(WebCore::IntSize const&) + 204 (FrameView.cpp:628) 3 com.apple.WebCore 0x0000000117e6058f WebCore::FrameView::adjustViewSize() + 687 (FrameView.cpp:650) 4 com.apple.WebCore 0x0000000117e63468 WebCore::FrameViewLayoutContext::layout() + 2392 (FrameViewLayoutContext.cpp:228) 5 com.apple.WebCore 0x0000000117e5b66c WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive() + 300 (FrameView.cpp:4295) 6 com.apple.WebCore 0x0000000117e279da WebCore::EventHandler::hitTestResultAtPoint(WebCore::LayoutPoint const&, unsigned int, WebCore::LayoutSize const&) const + 906 7 com.apple.WebKit 0x000000010690eb68 WebKit::WebFrame::hitTest(WebCore::IntPoint) const + 168 (WebFrame.cpp:639) 8 com.apple.WebKit 0x000000010674f1b1 WKBundleFrameCreateHitTestResult + 65 (WKBundleFrame.cpp:273) 9 com.apple.Safari.framework 0x000000012944072b Safari::WK::BundleFrame::hitTest(CGPoint) const + 155 (BundleFrame.mm:236)
Attachments
Patch (1.57 KB, patch)
2018-10-11 09:10 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2018-10-11 09:10:10 PDT
Geoffrey Garen
Comment 2 2018-10-11 09:59:16 PDT
Comment on attachment 352048 [details] Patch r=me
WebKit Commit Bot
Comment 3 2018-10-11 10:25:26 PDT
Comment on attachment 352048 [details] Patch Clearing flags on attachment: 352048 Committed r237035: <https://trac.webkit.org/changeset/237035>
WebKit Commit Bot
Comment 4 2018-10-11 10:25:27 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-10-11 10:26:32 PDT
Note You need to log in before you can comment on or make changes to this bug.