setCookie method

Applies the changes made to the DiagnosticsCookieEntry to the page.

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.setCookie(cookie);

Parameters

  • cookie [in]
    Type: DiagnosticsCookieEntry

Return value

This method does not return a value.

See also

DiagnosticsCookies