I'm using mozrepl with firefox 25 on ubuntu and I want to grab the cookies for the current page.
telnet localhost 4242
...
repl> document.title
"my test cookie site - Mozilla Firefox"
repl> document.cookie
repl>
Doing anything with document.cookie and I'm told it is undefined.
Now I know there are cookies b/c when I go to firefox, open up Scratchpad and run alert(document.cookie), I get the expected 2 cookies.
What do I need to do to get the cookies?
Thanks in advance.