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/12 03:46:35 UTC
[cordova-plugin-file] branch travis_tests updated: safari only test
is improved
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 ce91bc6 safari only test is improved
ce91bc6 is described below
commit ce91bc6b7313910aba87869ac7b31ddf7e38b561
Author: knaito <kn...@asial.co.jp>
AuthorDate: Tue Mar 12 12:46:22 2019 +0900
safari only test is improved
---
tests/tests.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/tests.js b/tests/tests.js
index 2fbb203..ca83ba6 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -254,7 +254,7 @@ exports.defineAutoTests = function () {
window.customLog('log', 'step 1');
var tx = mydb.transaction([FILE_STORE_], 'readwrite');
- var request2 = tx.objectStore(FILE_STORE_).put(myentry, mypath);
+ tx.objectStore(FILE_STORE_).put(myentry, mypath);
tx.onabort = function (err) {
window.customLog('log', 'db abort!!!');
console.log(err);
@@ -270,10 +270,11 @@ exports.defineAutoTests = function () {
};
tx2.oncomplete = function () {
window.customLog('log', 'ALL OK');
- window.customLog('log', !! request2.result);
+ window.customLog('log', !!request2.result);
window.customLog('log', JSON.stringify(request2.result));
done();
};
+ var request2 = tx2.objectStore(FILE_STORE_).get(mypath);
};
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org