Closed
Bug 585001
Opened 14 years ago
Closed 14 years ago
Add read() as a synonym for snarf() in the js shell
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: paul.biggar, Unassigned)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
1.73 KB,
patch
|
jimb
:
review+
|
Details | Diff | Splinter Review |
In other JS shells (v8, jsc), the function to read a file into a string is called 'read'. We call it "snarf". This adds a synonym called "read". This makes one of the fixes for bug 580532 simpler to send upstream to webkit. There don't seem to be tests for the shell, so tested by hand.
Updated•14 years ago
|
Attachment #463491 -
Flags: review?(jim)
Updated•14 years ago
|
Attachment #463491 -
Flags: review?(jim) → review+
Reporter | ||
Comment 1•14 years ago
|
||
This was accidentally committed as part of bug 578158, but it was decided to leave it in since it was approved anyway.
Whiteboard: fixed-in-tracemonkey
Reporter | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•