⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243385 in webkit


Ignore:
Timestamp:
Mar 22, 2019, 10:02:13 AM (7 years ago)
Author:
Chris Dumez
Message:

[ iOS Simulator] REGRESSION (r241821) Layout Test platform/ipad/fast/viewport/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport.html is a flaky failure on bots
https://bugs.webkit.org/show_bug.cgi?id=195348
<rdar://problem/48622090>

Reviewed by Alex Christensen.

Make sure webView.configuration.preferences._shouldIgnoreMetaViewport gets reset
to NO when test.options().shouldIgnoreMetaViewport is false.

  • WebKitTestRunner/ios/TestControllerIOS.mm:

(WTR::TestController::platformConfigureViewForTest):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r243384 r243385  
     12019-03-22  Chris Dumez  <cdumez@apple.com>
     2
     3        [ iOS Simulator] REGRESSION (r241821) Layout Test platform/ipad/fast/viewport/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport.html is a flaky failure on bots
     4        https://bugs.webkit.org/show_bug.cgi?id=195348
     5        <rdar://problem/48622090>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Make sure webView.configuration.preferences._shouldIgnoreMetaViewport gets reset
     10        to NO when test.options().shouldIgnoreMetaViewport is false.
     11
     12        * WebKitTestRunner/ios/TestControllerIOS.mm:
     13        (WTR::TestController::platformConfigureViewForTest):
     14
    1152019-03-22  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Tools/WebKitTestRunner/ios/TestControllerIOS.mm

    r243021 r243385  
    179179    TestRunnerWKWebView *webView = mainWebView()->platformView();
    180180
    181     if (test.options().shouldIgnoreMetaViewport)
    182         webView.configuration.preferences._shouldIgnoreMetaViewport = YES;
     181    webView.configuration.preferences._shouldIgnoreMetaViewport = test.options().shouldIgnoreMetaViewport;
    183182
    184183    CGRect screenBounds = [UIScreen mainScreen].bounds;
Note: See TracChangeset for help on using the changeset viewer.