| Summary: | We should pass minimumEffectiveDeviceWidth to web process on new page creation. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yongjun Zhang <yongjun_zhang> | ||||||||||
| Component: | WebKit Misc. | Assignee: | Yongjun Zhang <yongjun_zhang> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | ap, cdumez, commit-queue, ews-watchlist, thorton, webkit-bug-importer, wenson_hsieh, yongjun_zhang | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Yongjun Zhang
2019-03-21 08:32:31 PDT
Created attachment 365547 [details]
Ignore the initial scale.
Comment on attachment 365547 [details] Ignore the initial scale. Attachment 365547 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/11602696 New failing tests: fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall.html fast/viewport/ios/viewport-shrink-to-fit-on-new-navigation.html Created attachment 365605 [details]
Archive of layout-test-results from ews121 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Created attachment 366852 [details]
Patch.
Attachment 366852 [details] did not pass style-queue:
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:5889: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:5905: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5]
Total errors found: 2 in 15 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 366852 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=366852&action=review r=me > LayoutTests/ChangeLog:10 > + Reviewed by NOBODY (OOPS!). This goes before "Add a layout test..." > Source/WebCore/page/ViewportConfiguration.cpp:180 > + updateMinimumLayoutSize(); Could this be moved inside updateDefaultConfiguration() if it is needed whenever we update the default config? > Source/WebKit/ChangeLog:12 > + Reviewed by NOBODY (OOPS!). Should come before the description. > Source/WebKit/Shared/WebPageCreationParameters.h:151 > + double viewportConfigurationMinimumEffectiveDeviceWidth; Should really have a default value, to be safe. > Tools/ChangeLog:12 > + https://bugs.webkit.org/show_bug.cgi?id=196077 What's this? > Tools/ChangeLog:13 > + <rdar://problem/49108202> What's this? > Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:5923 > + EXPECT_EQ([width intValue], 1024); 1024 should go first. Created attachment 366867 [details]
Add review comments and fix mac build failure.
Attachment 366867 [details] did not pass style-queue:
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:5889: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5]
ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:5905: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5]
Total errors found: 2 in 15 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 366867 [details] Add review comments and fix mac build failure. Clearing flags on attachment: 366867 Committed r243961: <https://trac.webkit.org/changeset/243961> All reviewed patches have been landed. Closing bug. |