You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/03/12 13:11:19 UTC

[04/18] git commit: [flex-falcon] [refs/heads/feature/maven-migration] - Window.resolveLocalFileSystemURI has been deprecated. This update adds its replacement, resolveLocalFileSystemURL.

Window.resolveLocalFileSystemURI has been deprecated. This update adds its replacement, resolveLocalFileSystemURL.


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/49c3296c
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/49c3296c
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/49c3296c

Branch: refs/heads/feature/maven-migration
Commit: 49c3296cd325e0ae3e31ee48ca0d176094ec2e6a
Parents: 8d8b2f2
Author: Peter Ent <pe...@apache.org>
Authored: Thu Mar 10 06:46:18 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Mar 10 06:46:18 2016 -0500

----------------------------------------------------------------------
 externs/js/missing.js | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/49c3296c/externs/js/missing.js
----------------------------------------------------------------------
diff --git a/externs/js/missing.js b/externs/js/missing.js
index cb6980e..d53e13b 100644
--- a/externs/js/missing.js
+++ b/externs/js/missing.js
@@ -17,7 +17,7 @@
  *
  */
 
- 
+
 // webkit_notifications
 /**
  * @constructor
@@ -49,6 +49,16 @@ var window;
 Window.prototype.document;
 
 /**
+ * resolveLocalFileSystemURI has been deprecated; this is the replacement.
+ * @see http://www.w3.org/TR/file-system-api/#widl-LocalFileSystem-resolveLocalFileSystemURL
+ * @param {string} url
+ * @param {function(!Entry)} successCallback
+ * @param {function(!FileError)=} errorCallback
+ */
+Window.prototype.resolveLocalFileSystemURL = function(url, successCallback,
+    errorCallback) {}
+
+/**
  * @constructor
  */
 function Promise() {}
@@ -162,4 +172,4 @@ function trace(rest) {}
  * @type {!Console}
  * @const
  */
-var console;
\ No newline at end of file
+var console;