Changeset 235079 in webkit


Ignore:
Timestamp:
Aug 20, 2018 9:43:30 AM (6 years ago)
Author:
Wenson Hsieh
Message:

[iOS] Paste is missing from callout bar when pasteboard only contains custom data
https://bugs.webkit.org/show_bug.cgi?id=184271
<rdar://problem/39256708>

Reviewed by Andy Estes.

This API test is failing when run against older macOS builds, where custom pasteboard
data is not enabled by default.

  • TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm:

(TestWebKitAPI::TEST):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r235065 r235079  
     12018-08-20  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        [iOS] Paste is missing from callout bar when pasteboard only contains custom data
     4        https://bugs.webkit.org/show_bug.cgi?id=184271
     5        <rdar://problem/39256708>
     6
     7        Reviewed by Andy Estes.
     8
     9        This API test is failing when run against older macOS builds, where custom pasteboard
     10        data is not enabled by default.
     11
     12        * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm:
     13        (TestWebKitAPI::TEST):
     14
    1152018-08-20  Claudio Saavedra  <csaavedra@igalia.com>
    216
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm

    r235011 r235079  
    267267    [configuration setURLSchemeHandler:schemeHandler.get() forURLScheme:@"same"];
    268268    [configuration setURLSchemeHandler:schemeHandler.get() forURLScheme:@"different"];
     269    WKPreferencesSetCustomPasteboardDataEnabled((WKPreferencesRef)[configuration preferences], true);
    269270
    270271    auto source = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, 400, 400) configuration:configuration.get()]);
Note: See TracChangeset for help on using the changeset viewer.