[Webkit-unassigned] [Bug 200857] iOS 13 beta: WKWebView does not include cookies/credentials in cross-origin-requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 19 06:10:32 PDT 2019


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

--- Comment #4 from Niklas Merz <niklasmerz at linux.com> ---
(In reply to Niklas Merz from comment #2)
> I should test XMLHttpRequest, too. I will report back!

fetch and XMLHttpRequest have this problem on iOS 13 beta.

> Details will follow. Contact me for any questions.

I created a small app which loads my testpage on Github (https://niklas.merz.dev/corstest) in WKWebView. The test app is attached to this bug report.

This page works with cookies in Safari and WKWebView on iOS 12. On iOS 13 beta in Safari and WKWebView the cookie is not sent after recieving it for the first time.

Steps to test:

Safari:
1. Open https://niklas.merz.dev/corstest in Safari on iOS/iPadOS 13
2. Open the console of this device via Mac Safari
3. Switch to the network tab
4. Click one of the buttons
5. Inspect the request -> No cookie should be sent, one cookie should be recieved, visibile on the cookies tab and the Set-Cookie header
6. Click the button again
7. On iOS 12 the cookie will be sent (Cookie header), on iOS 13 NOT!

NativeWebView - Testapp from attachments
1. Launche the app via Xcode on iOs 13 device
2. Inspect the webpage via Mac Safari
3. Just like iOS Safari the cookie will not be sent on iOS 13

-- 
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/20190819/a8b43f4f/attachment-0001.html>


More information about the webkit-unassigned mailing list