Title: [232857] trunk/Tools
Revision
232857
Author
[email protected]
Date
2018-06-14 15:08:22 -0700 (Thu, 14 Jun 2018)

Log Message

TestWebKitAPI.WebKit.WKNavigationResponsePDFType fails after r232815
https://bugs.webkit.org/show_bug.cgi?id=186631

Reviewed by Chris Dumez.

* TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm:
(TEST): Update PDF plug-in identifier.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (232856 => 232857)


--- trunk/Tools/ChangeLog	2018-06-14 21:48:02 UTC (rev 232856)
+++ trunk/Tools/ChangeLog	2018-06-14 22:08:22 UTC (rev 232857)
@@ -1,3 +1,13 @@
+2018-06-14  Youenn Fablet  <[email protected]>
+
+        TestWebKitAPI.WebKit.WKNavigationResponsePDFType fails after r232815
+        https://bugs.webkit.org/show_bug.cgi?id=186631
+
+        Reviewed by Chris Dumez.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm:
+        (TEST): Update PDF plug-in identifier.
+
 2018-06-14  Leo Balter  <[email protected]>
 
         [test262-runner] Improve displayed settings, use rel paths

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm (232856 => 232857)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm	2018-06-14 21:48:02 UTC (rev 232856)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm	2018-06-14 22:08:22 UTC (rev 232857)
@@ -135,7 +135,7 @@
     auto navigationDelegate = adoptNS([[WKNavigationResponseTestNavigationDelegate alloc] init]);
     webView.get().navigationDelegate = navigationDelegate.get();
 
-    [[[webView configuration] processPool] _addSupportedPlugin: @"" named: @"WebKit built-in PDF" withMimeTypes: [NSSet setWithArray: @[ @"application/pdf" ]] withExtensions: [NSSet setWithArray: @[ ]]];
+    [[[webView configuration] processPool] _addSupportedPlugin: @"" named: @"com.apple.webkit.builtinpdfplugin" withMimeTypes: [NSSet setWithArray: @[ @"application/pdf" ]] withExtensions: [NSSet setWithArray: @[ ]]];
 
     schemeHandler.get().mimeType = @"application/pdf";
     navigationDelegate.get().expectation = YES;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to