From 8e06b63e5eab5558823f4923e20a832c8b36cbe2 Mon Sep 17 00:00:00 2001
From: Jose Antonio Marquez
Date: Thu, 2 Feb 2012 23:55:33 -0800
Subject: Chrome FileSystem API Testing
Doing benchmark testing of the native HTML5 FileSystem API available in Chrome. Need to run testing of local XHR requests and also getting files from packaged app.
---
js/io/system/fileio.js | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
(limited to 'js/io/system/fileio.js')
diff --git a/js/io/system/fileio.js b/js/io/system/fileio.js
index f40aa96b..4ab98606 100755
--- a/js/io/system/fileio.js
+++ b/js/io/system/fileio.js
@@ -3,6 +3,7 @@ This file contains proprietary software owned by Motorola Mobility, Inc.
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/
+
/* /////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
NOTES:
@@ -62,6 +63,8 @@ exports.FileIo = Montage.create(Object.prototype, {
return status;
}
},
+ ////////////////////////////////////////////////////////////////////
+ //
readFile: {
enumerable: true,
value: function() {
@@ -73,6 +76,8 @@ exports.FileIo = Montage.create(Object.prototype, {
//
}
},
+ ////////////////////////////////////////////////////////////////////
+ //
saveFile: {
enumerable: true,
value: function() {
@@ -84,6 +89,8 @@ exports.FileIo = Montage.create(Object.prototype, {
//
}
},
+ ////////////////////////////////////////////////////////////////////
+ //
copyFile: {
enumerable: true,
value: function() {
@@ -95,6 +102,8 @@ exports.FileIo = Montage.create(Object.prototype, {
//
}
},
+ ////////////////////////////////////////////////////////////////////
+ //
infoFile: {
enumerable: true,
value: function() {
@@ -106,7 +115,8 @@ exports.FileIo = Montage.create(Object.prototype, {
//
}
}
-
+ ////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////
@@ -339,8 +349,7 @@ open: {
- ////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////
+
});
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
\ No newline at end of file
--
cgit v1.2.3