cookies property

ContentSetting get cookies

Whether to allow cookies and other local data to be set by websites. One of allow: Accept cookies, block: Block cookies, session_only: Accept cookies only for the current session. Default is allow. The primary URL is the URL representing the cookie origin. The secondary URL is the URL of the top-level frame.

Implementation

ContentSetting get cookies =>
    ContentSetting.fromJS($js.chrome.contentSettings.cookies);