We should add support for the readline() function that the SpiderMonkey shell exposes.
Created attachment 19337 [details] patch
Comment on attachment 19337 [details] patch r=me. SpiderMonkey does some special handling of \r's in its implementation. We may need to do something similar if we encounter cases where this is required.
Landed in r30560.