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 02:22:35 UTC
[cordova-plugin-file] branch travis_tests updated: show straoge log
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 5e7dcf5 show straoge log for debug
5e7dcf5 is described below
commit 5e7dcf52f32974c25ff2098fffaf69f82d87f6db
Author: knaito <kn...@asial.co.jp>
AuthorDate: Mon Mar 11 11:22:13 2019 +0900
show straoge log for debug
---
src/browser/FileProxy.js | 6 ++++--
www/resolveLocalFileSystemURI.js | 5 -----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/browser/FileProxy.js b/src/browser/FileProxy.js
index f260634..1096a15 100644
--- a/src/browser/FileProxy.js
+++ b/src/browser/FileProxy.js
@@ -100,7 +100,10 @@
var root = new DirectoryEntry('', DIR_SEPARATOR);
fs_ = new FileSystem(name, root);
-
+
+ window.customLog('log', 'protocol = ' + location.protocol);
+ window.customLog('log', 'host = ' + location.host);
+ window.customLog('log', 'storageName = ' + storageName);
window.customLog('log', 'requestFileSystem step 2 ');
idb_.open(storageName, function () {
// window.customLog('log', '***** ' + successCallback.toString());
@@ -857,7 +860,6 @@
window.customLog('log', 'onsuccess is fired');
self.db = e.target.result;
self.db.onerror = onError;
- window.customLog('log', successCallback.toString());
successCallback(e);
};
diff --git a/www/resolveLocalFileSystemURI.js b/www/resolveLocalFileSystemURI.js
index 4111071..68238bf 100644
--- a/www/resolveLocalFileSystemURI.js
+++ b/www/resolveLocalFileSystemURI.js
@@ -51,12 +51,7 @@
var fail = function (error) {
window.customLog('log', 'error callback is called');
if (errorCallback) {
- window.customLog('log', 'errorCallback before ===');
- window.customLog('log', errorCallback.toString());
errorCallback(new FileError(error));
- window.customLog('log', 'errorCallback after ====');
- } else {
- window.customLog('log', 'errorCallback is null');
}
};
// sanity check for 'not:valid:filename' or '/not:valid:filename'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org