You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2012/05/18 00:17:12 UTC

[1/3] spec commit: [CB-807] Whoops, overly zealous with a search and replace

Updated Branches:
  refs/heads/apacheMaster [created] c90ba5e9a


[CB-807] Whoops, overly zealous with a search and replace


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/c90ba5e9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/c90ba5e9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/c90ba5e9

Branch: refs/heads/apacheMaster
Commit: c90ba5e9aee4b223fc4d0afa915eac4c98c3e7e7
Parents: ffa947d
Author: timkim <ti...@apche.org>
Authored: Thu May 17 15:14:44 2012 -0700
Committer: timkim <ti...@apche.org>
Committed: Thu May 17 15:16:07 2012 -0700

----------------------------------------------------------------------
 autotest/tests/file.tests.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/c90ba5e9/autotest/tests/file.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/file.tests.js b/autotest/tests/file.tests.js
index 360f656..c622fc1 100644
--- a/autotest/tests/file.tests.js
+++ b/autotest/tests/file.tests.js
@@ -2878,7 +2878,7 @@ describe('File API', function() {
             var reader = new FileReader();
             expect(reader).toBeDefined();
             expect(typeof reader.readAsBinaryString).toBe('function');
-            expect(typeof reader.readAsDataURI).toBe('function');
+            expect(typeof reader.readAsDataURL).toBe('function');
             expect(typeof reader.readAsText).toBe('function');
             expect(typeof reader.readAsArrayBuffer).toBe('function');
             expect(typeof reader.abort).toBe('function');
@@ -3006,7 +3006,7 @@ describe('File API', function() {
                     reader.onloadend = verifier;
                     var myFile = new File();
                     myFile.fullPath = filePath;
-                    reader.readAsDataURI(myFile);
+                    reader.readAsDataURL(myFile);
                 };
 
             // create a file, write to it, and read it in again