This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Referencing lastCookies.length when length property does not exist #1712
Closed
Description
In src/ng/browser.js there's a reference to lastCookies.length:
if (lastCookies.length > 20) {
$log.warn("Cookie '"+ name +"' possibly not set or overflowed because too many cookies " +
"were already set (" + lastCookies.length + " > 20 )");
}
However, lastCookies is an Object and Objects do not have a length property, so this if statement will never be triggered.
Metadata
Metadata
Assignees
Labels
No labels