getAllCookies method
Returns an array of DiagnosticsCookies objects.
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.getAllCookies();
Parameters
This method has no parameters.
Return value
Type: any
An array of cookie objects.