[Webkit-unassigned] [Bug 213510] New: REGRESSION (iOS 14): WKWebView does not include cookies in cross-origin images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 05:59:59 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213510

            Bug ID: 213510
           Summary: REGRESSION (iOS 14): WKWebView does not include
                    cookies in cross-origin images
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: niklasmerz at apache.org

Created attachment 402550

  --> https://bugs.webkit.org/attachment.cgi?id=402550&action=review

Test project

We found a bug in our app (using WKWebView) on iOS 14 developer beta that images that are loaded from another origin don't load because the necessary cookie is not sent. This bug was already an issue in iOS 13.3 and fixed in iOS 13.3 beta 4. It now appears to be a regression in iOS 14 from the bug 204109.

I added a small sample project which opens a test page in WKWebview. This page has two img tags. One of the loads the image from the same origin, one from another one. Both images need a cookie, otherwise an error is thrown. The cookies for thesse images are set in Swift code before opening the WebView.

If I run this project with two devices and iOS version, I get different result:

* iOS 13.5.1: Both images are displayed at app launch
* iOS 14 Developer Beta: Only the same origin image is displayed

This bug looks to me like the bug in iOS 13.3 and can be reproduced with the same sample project and instructions: https://bugs.webkit.org/show_bug.cgi?id=204109

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200623/a766e02d/attachment-0001.htm>


More information about the webkit-unassigned mailing list