Bug 761138 - Create/remove directories (constants). r=froydnj
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Fri, 24 Aug 2012 16:18:15 -0400
changeset 103341 3eb65ac5a609267437717ea444a6c9438aa60d69
parent 103340 d94e6c20c4dc9e1b6df52c73e723fda55948be70
child 103342 1fd86c175258ec5235ae95212b6225033a78fa74
push id23343
push userryanvm@gmail.com
push dateSat, 25 Aug 2012 02:53:35 +0000
treeherdermozilla-central@f077de66e52d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs761138
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 761138 - Create/remove directories (constants). r=froydnj
dom/system/OSFileConstants.cpp
--- a/dom/system/OSFileConstants.cpp
+++ b/dom/system/OSFileConstants.cpp
@@ -490,17 +490,19 @@ static dom::ConstantSpec gWinProperties[
 
 
   // MoveFile flags
   INT_CONSTANT(MOVEFILE_COPY_ALLOWED),
   INT_CONSTANT(MOVEFILE_REPLACE_EXISTING),
 
   // Errors
   INT_CONSTANT(ERROR_ACCESS_DENIED),
+  INT_CONSTANT(ERROR_DIR_NOT_EMPTY),
   INT_CONSTANT(ERROR_FILE_EXISTS),
+  INT_CONSTANT(ERROR_ALREADY_EXISTS),
   INT_CONSTANT(ERROR_FILE_NOT_FOUND),
   INT_CONSTANT(ERROR_NO_MORE_FILES),
 
   PROP_END
 };
 #endif // defined(XP_WIN)