createCookie method
Creates a new 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
var retVal = DiagnosticsCookies.createCookie(cookieName);
Parameters
cookieName [in]
Type: DOMStringName to use for the cookie.