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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 12 04:36:09 PST 2019


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

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

Created attachment 383348

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

Example project with test page

We found a bug in our app (using WKWebView) that images that are loaded from another origin don't load because the necessary cookie is not sent.

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, otherwhise 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.2: Both images are displayed at app launch
* iOS 13.3 Developer Beta 2: Only the same origin image is displayed

Bug  200857 was a similiar issue in iOS 13, but is fixed since iOS 13.2

-- 
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/20191112/5abab2d8/attachment.htm>


More information about the webkit-unassigned mailing list