Message.setSiteForCookies

Sets @site_for_cookies as the policy URL for same-site cookies for @msg.

It is either the URL of the top-level document or %NULL depending on whether the registrable domain of this document's URL matches the registrable domain of its parent's/opener's URL. For the top-level document it is set to the document's URL.

See the same-site spec for more information.

class Message
void
setSiteForCookies

Parameters

siteForCookies URI

the #SoupURI for the @msg's site for cookies

Meta

Since

2.70