Bug 136522 - [iOS WK2] Skip the animated resize if the view was empty
Summary: [iOS WK2] Skip the animated resize if the view was empty
Status: RESOLVED DUPLICATE of bug 137988
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 21:11 PDT by Benjamin Poulain
Modified: 2014-10-24 12:19 PDT (History)
1 user (show)

See Also:


Attachments
Patch (3.59 KB, patch)
2014-09-03 21:18 PDT, Benjamin Poulain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***