cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject spec commit: Updated WP8 CB-6299 test so it doesn't fail elsewhere
Date Tue, 08 Apr 2014 22:40:11 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master a2241c790 -> 13e6bb57f


Updated WP8 CB-6299 test so it doesn't fail elsewhere


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

Branch: refs/heads/master
Commit: 13e6bb57fb92e3b3f9d7775cfe3fe19770da88eb
Parents: a2241c7
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Apr 8 15:40:06 2014 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Apr 8 15:40:06 2014 -0700

----------------------------------------------------------------------
 autotest/tests/localXHR.tests.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/13e6bb57/autotest/tests/localXHR.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/localXHR.tests.js b/autotest/tests/localXHR.tests.js
index fb76c9a..06b2917 100644
--- a/autotest/tests/localXHR.tests.js
+++ b/autotest/tests/localXHR.tests.js
@@ -80,7 +80,7 @@ describe("XMLHttpRequest", function () {
         });
 
         it("XMLHttpRequest.spec.11 should be able to load the current page using window.location
with extra / [CB-6299]", function () {
-            var path = window.location.protocol + "/" + window.location.toString().substr(window.location.protocol.length);
+            var path = window.location.protocol + "//" + window.location.toString().substr(window.location.protocol.length);
             var win = jasmine.createSpy().andCallFake(function (res) { });
             var lose = createDoNotCallSpy('xhrFail');
             var xhr = createXHR(path, true, win, lose);


Mime
View raw message