function mycallback(target, error, cookies)
    {
        if (error) {
            console.error(error);
            return;
        }
        for (var i = 0; i < cookies.length; ++i)
            allCookies.push(WebInspector.Cookies._parseProtocolCookie(target, cookies[i]));
    }
@param {!WebInspector.Target} target
@param {?Protocol.Error} error
@param {!Array.<!NetworkAgent.Cookie>} cookies