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/08 06:52:36 UTC
[cordova-plugin-file] branch travis_tests updated: further debug
logs are added
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 efc8668 further debug logs are added
efc8668 is described below
commit efc86687c9ce8296899bc3728cc98add4da87d62
Author: knaito <kn...@asial.co.jp>
AuthorDate: Fri Mar 8 15:52:20 2019 +0900
further debug logs are added
---
src/browser/FileProxy.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/browser/FileProxy.js b/src/browser/FileProxy.js
index 8d11023..9a8f609 100644
--- a/src/browser/FileProxy.js
+++ b/src/browser/FileProxy.js
@@ -822,6 +822,7 @@
};
request.onupgradeneeded = function (e) {
+ window.customLog('log', 'onupgrade needed is fired');
// First open was called or higher db version was used.
// console.log('onupgradeneeded: oldVersion:' + e.oldVersion,
@@ -836,6 +837,7 @@
};
request.onsuccess = function (e) {
+ window.customLog('log', 'onsuccess is fired');
self.db = e.target.result;
self.db.onerror = onError;
successCallback(e);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org