Expected output is an empty list since test.ck is public suffix domain according to Public Suffix List so we should not have an ability of setting cookie to it.
After investigating into this issue I found out that the problem is that qIsEffectiveTLD() from corelib/io/qtldurl.cpp returns for domains listed as wildcards in public suffix list, such as:
While widely-used libraries for handling TLDs such as libpsl and libsoup treat such domains as public suffix:
|For Gerrit Dashboard: QTBUG-78097|
|273108,6||Fix qIsEffectiveTLD() behavior for wildcard-listed TLDs||5.13||qt/qtbase||Status: NEW||-2||0|
|273459,2||Fix mis-handling of actual TLD in qIsEffectiveTLD()||5.14||qt/qtbase||Status: MERGED||+2||0|