cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omef...@apache.org
Subject spec commit: CB-11050 Removing the flaky XHR Test
Date Fri, 06 May 2016 18:50:23 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master a6b53c89f -> f642d54fa


CB-11050 Removing the flaky XHR Test

 This closes #140


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/f642d54f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/f642d54f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/f642d54f

Branch: refs/heads/master
Commit: f642d54fa30f15a4dced52d3fb7052c4c68840aa
Parents: a6b53c8
Author: Raghav Katyal <rakatyal@microsoft.com>
Authored: Thu May 5 16:16:45 2016 -0700
Committer: Omar Mefire <omefire@gmail.com>
Committed: Fri May 6 11:49:21 2016 -0700

----------------------------------------------------------------------
 cordova-plugin-mobilespec-tests/tests/localXHR.tests.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/f642d54f/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js
----------------------------------------------------------------------
diff --git a/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js b/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js
index f42ed63..e2d16b6 100644
--- a/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js
+++ b/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js
@@ -19,6 +19,7 @@
  *
  */
 
+// These tests are needed to check browser's functionality and verify that we are not breaking
it.
 exports.defineAutoTests = function () {
     var isWp8 = cordova.platformId === "windowsphone";
     var isIOS = (cordova.platformId === "ios");
@@ -99,7 +100,7 @@ exports.defineAutoTests = function () {
         });
 
         it("XMLHttpRequest.spec.9 calls onload from successful http get", function (done)
{
-            createXHR("http://cordova-filetransfer.jitsu.com", true, done, errorHandler.onError.bind(null,
done));
+            createXHR("http://google.com", true, done, errorHandler.onError.bind(null, done));
         });
 
         it("XMLHttpRequest.spec.3 should be able to load the current page", function (done)
{


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


Mime
View raw message