cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakat...@apache.org
Subject spec commit: CB-10595: Windows Store 8.1 builds finish with warning 'Expected undefined to be defined' on running mobilespec storage tests
Date Wed, 17 Feb 2016 00:55:53 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 4935cb5bc -> 6d4a2b768


CB-10595: Windows Store 8.1 builds finish with warning 'Expected undefined to be defined'
on running mobilespec storage tests

IE does not support openDatabase method. So, marking the test as
pending.


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/6d4a2b76
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/6d4a2b76
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/6d4a2b76

Branch: refs/heads/master
Commit: 6d4a2b768b966a0efe1e4a89f528dcc65db5006e
Parents: 4935cb5
Author: Sarangan Rajamanickam <sarajama@microsoft.com>
Authored: Tue Feb 16 14:42:01 2016 -0800
Committer: Sarangan Rajamanickam <sarajama@microsoft.com>
Committed: Tue Feb 16 14:42:01 2016 -0800

----------------------------------------------------------------------
 cordova-plugin-mobilespec-tests/tests/storage.tests.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/6d4a2b76/cordova-plugin-mobilespec-tests/tests/storage.tests.js
----------------------------------------------------------------------
diff --git a/cordova-plugin-mobilespec-tests/tests/storage.tests.js b/cordova-plugin-mobilespec-tests/tests/storage.tests.js
index 671d16f..e6627cb 100644
--- a/cordova-plugin-mobilespec-tests/tests/storage.tests.js
+++ b/cordova-plugin-mobilespec-tests/tests/storage.tests.js
@@ -179,6 +179,10 @@ exports.defineAutoTests = function () {
 
         describe("HTML 5 Storage", function () {
             it("storage.spec.9 should exist", function () {
+                //IE doesn't support openDatabase method
+                if (isWindows || isWindowsPhone) {
+                    pending();
+                }
                 expect(window.openDatabase).toBeDefined();
             });
 
@@ -214,7 +218,7 @@ exports.defineAutoTests = function () {
                     if (!window.openDatabase) {
                         pending();
                     }
-                   
+
                     if (isIOSWKWebView) {
                         pending();
                     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message