You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by kn...@apache.org on 2019/03/11 05:56:29 UTC
[cordova-plugin-file] branch travis_tests updated: indexeddb log
added for debug
This is an automated email from the ASF dual-hosted git repository.
knaito pushed a commit to branch travis_tests
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git
The following commit(s) were added to refs/heads/travis_tests by this push:
new dd3b2bf indexeddb log added for debug
dd3b2bf is described below
commit dd3b2bfbdef0a093e01e545f5b55d266c1401f39
Author: knaito <kn...@asial.co.jp>
AuthorDate: Mon Mar 11 14:56:06 2019 +0900
indexeddb log added for debug
---
src/browser/FileProxy.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/browser/FileProxy.js b/src/browser/FileProxy.js
index 26d9d65..87903fe 100644
--- a/src/browser/FileProxy.js
+++ b/src/browser/FileProxy.js
@@ -143,6 +143,7 @@
// Create an absolute path if we were handed a relative one.
path = resolveToFullPath_(fullPath, path);
+ window.customLog('log', 'idb_.get: path:' + path.storagePath);
idb_.get(path.storagePath, function (fileEntry) {
if (options.create === true && options.exclusive === true && fileEntry) {
window.customLog('log', 'getFile is called 1');
@@ -166,6 +167,7 @@
storagePath: path.storagePath
});
+ window.customLog('log', 'idb_.put: path:' + newFileEntry.file_.storagePath + ', fileEntry.file_.name:' + newFileEntry.file_.name);
idb_.put(newFileEntry, path.storagePath, successCallback, errorCallback);
} else if (options.create === true && fileEntry) {
window.customLog('log', 'getFile is called 3');
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org