I didn't test is, but try something as follows:

if (!this.table)
    return;

var totalSize = 0;

var rows = this.table.getElementsByClassName("cookieRow");
for (var i=0; i<rows.length; i++)
{
    var row = rows[i];

    var cookie = Firebug.getRepObject(row);
    if (cookie)
       totalSize += cookie.size;
}


Honza

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to