We should add support for the readline() function that the SpiderMonkey shell exposes.
Created attachment 19337 [details]
Comment on attachment 19337 [details]
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.