deleteCookie method

Deletes a cookie.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

DiagnosticsCookies.deleteCookie(cookieName, domain);

Parameters

  • cookieName [in]
    Type: DOMString

    Name of cookie to delete.

  • domain [in]
    Type: DOMString

    Domain of cookie.

Return value

This method does not return a value.

See also

DiagnosticsCookies