Bug 136522

Summary: [iOS WK2] Skip the animated resize if the view was empty
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Benjamin Poulain 2014-09-03 21:11:51 PDT
[iOS WK2] Skip the animated resize if the view was empty
Comment 1 Benjamin Poulain 2014-09-03 21:18:53 PDT
Created attachment 237610 [details]
Patch
Comment 2 Darin Adler 2014-09-06 17:05:20 PDT
Comment on attachment 237610 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237610&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:2203
> +    ASSERT_WITH_MESSAGE(!newMinimumLayoutSize.isEmpty(), "Defining an empty minimum layout size would be a misuse of the API. Safari should set up a reasonable size in all cases.");

I’m not sure this is a sensible comment. Safari isn’t the only WebKit client app.
Comment 3 David Kilzer (:ddkilzer) 2014-10-24 12:19:12 PDT

*** This bug has been marked as a duplicate of bug 137988 ***