freezing nsIFile/nsILocalFile API (b=129279)

r=dougt sr=alecf
This commit is contained in:
darin%netscape.com 2002-05-13 22:55:29 +00:00
parent 0172201061
commit 838fb89c78
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ interface nsISimpleEnumerator;
* be safely passed to javascript via xpconnect. Therefore, the "native
* methods" are not scriptable.
*
* @status UNDER_REVIEW
* @status FROZEN
*/
[scriptable, uuid(c8c0a080-0868-11d3-915f-d9d889d48e3c)]
interface nsIFile : nsISupports

View File

@ -42,7 +42,7 @@
*
* It follows the same string conventions as nsIFile.
*
* @status UNDER_REVIEW
* @status FROZEN
*/
[scriptable, uuid(aa610f20-a889-11d3-8c81-000064657374)]
interface nsILocalFile : nsIFile

View File

@ -1611,7 +1611,7 @@ convert_native_to_ucs2(const char *input, unsigned inputLen, nsAString &result)
result.Truncate();
// allocate space for largest possible result
result.SetCapacity(inputLen + 1);
result.SetLength(inputLen);
nsAString::iterator start;
result.BeginWriting(start);