Changeset 235689 in webkit
- Timestamp:
- Sep 5, 2018 2:15:53 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r235683 r235689 1 2018-09-05 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [macOS] DragAndDropTests.ExposeMultipleURLsInDataTransfer fails on macOS versions prior to Mojave 4 https://bugs.webkit.org/show_bug.cgi?id=189315 5 6 Reviewed by Tim Horton. 7 8 Fix the test failure by explicitly enabling custom pasteboard data. 9 10 * TestWebKitAPI/Tests/WebKitCocoa/DragAndDropTests.mm: 11 (TEST): 12 1 13 2018-09-05 Woodrow Wang <woodrow_wang@apple.com> 2 14 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/DragAndDropTests.mm
r235647 r235689 28 28 #import "DragAndDropSimulator.h" 29 29 #import "PlatformUtilities.h" 30 #import <WebKit/WKPreferencesPrivate.h> 30 31 31 32 #if WK_API_ENABLED && ENABLE(DRAG_SUPPORT) … … 48 49 auto simulator = adoptNS([[DragAndDropSimulator alloc] initWithWebViewFrame:CGRectMake(0, 0, 320, 500)]); 49 50 auto webView = [simulator webView]; 51 WKPreferencesSetCustomPasteboardDataEnabled((WKPreferencesRef)[webView configuration].preferences, true); 50 52 [webView synchronouslyLoadTestPageNamed:@"DataTransfer"]; 51 53
Note: See TracChangeset
for help on using the changeset viewer.