mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Removed hack in EditorExecuteScript() that worked around a
bug in nsIFileSpec.readLine() that has now been fixed.
This commit is contained in:
parent
2111d69f33
commit
a844eab276
@ -438,18 +438,6 @@ function EditorExecuteScript(fileSpec)
|
||||
// XXX by the readLine() implementation.
|
||||
|
||||
tmpBuf.value = null;
|
||||
|
||||
// XXX There is a bug in the nsIFileSpec implementation.
|
||||
// XXX the didTruncate value actually returns a bool
|
||||
// XXX that indicates if the read successfully read
|
||||
// XXX a line that fit into the buffer.
|
||||
// XXX That is, it returns true if everything fit
|
||||
// XXX and false if it didn't ... the reverse of what
|
||||
// XXX the args name suggests.
|
||||
// XXX
|
||||
// XXX Remove the following line when this bug gets fixed.
|
||||
|
||||
didTruncate.value = !didTruncate.value;
|
||||
}
|
||||
|
||||
eval(buf.value);
|
||||
|
Loading…
Reference in New Issue
Block a user