Bug 206735

Summary: safari > 11.1 does not set/send cookies from iframes on non IANA tlds (.epost , .vcom)
Product: WebKit Reporter: mdob
Component: FramesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, ap, beidson, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Mac   
OS: iOS 13   
Attachments:
Description Flags
Sample to reproduce the bug none

Description mdob 2020-01-24 04:27:42 PST
Created attachment 388673 [details]
Sample to reproduce the bug

What I intended to do
* I want to set/send a cookie from an iframe.

What actually happened
* No cookies were set/send.

How to reproduce

Requirements:
* two network interfaces (e.g.: wlan, eth)
* python3
* safari > 11.1
Setup:
* identify your ip addresses from your interfaces e.g.: ip addr
* e.g.: wlp3s0: 192.168.1.2 , enp0s31f6: 192.168.1.3
* Add this to your "/etc/hosts":
* 192.168.1.2 iframe.safari.vcom
* 192.168.1.3 www.safari.vcom
* extract example.zip
Start
parent:
* For a binding on port 80 root rights are required.
* cd cookie-playground/parent
* sudo python httpServer.py
iframe:
* For a binding on port 80 root rights are required.
* cd cookie-playground/iframe
* sudo python httpServer.py

open http://www.safari.vcom with safari > 11.1
Comment 1 Radar WebKit Bug Importer 2020-01-26 13:28:07 PST
<rdar://problem/58904923>
Comment 2 John Wilander 2020-01-26 13:42:58 PST
This sounds like something related to the Public Suffix list.