deleteCookies

abstract fun deleteCookies(url: String, cookieName: String): Boolean

Delete all cookies that match the specified parameters. If both |url| and |cookieName| values are specified all host and domain cookies matching both will be deleted. If only |url| is specified all host cookies (but not domain cookies) irrespective of path will be deleted. If |url| is empty all cookies for all hosts and domains will be deleted. Cookies can alternately be deleted using the visit*Cookies() methods.

Return

False if a non-empty invalid URL is secified or if cookies cannot be accessed.

Parameters

url

The cookie URL to delete or null.

cookieName

The cookie name to delete or null.