Summary: | Crash replacing TabDocument in MobileSafari at WebKit: -[WKWebView(WKPrivate) _beginAnimatedResizeWithUpdates:] | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, ddkilzer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Antti Koivisto
2015-06-22 04:41:42 PDT
Created attachment 255351 [details]
patch
Comment on attachment 255351 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=255351&action=review > Source/WebKit2/ChangeLog:14 > + No repro but if for some reason [_contentView bounds] width is empty we'll compute +Inf targetScale > + and then NaN contentOffset.x. Verified in lldb that this gives the exact crash signature seen. > + > + Fix by checking that [_contentView bounds] is not empty like is done with other inputs. Weird indentation |