cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject spec commit: moved Windows Phone specific CB-6299 test to a WP-Only block
Date Tue, 08 Apr 2014 23:46:10 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 13e6bb57f -> 75a86b17b


moved Windows Phone specific CB-6299 test to a WP-Only block


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

Branch: refs/heads/master
Commit: 75a86b17b83ea32422fa21d0c0b74b4d2b2f13f8
Parents: 13e6bb5
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Apr 8 16:46:15 2014 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Apr 8 16:46:15 2014 -0700

----------------------------------------------------------------------
 autotest/tests/localXHR.tests.js | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/75a86b17/autotest/tests/localXHR.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/localXHR.tests.js b/autotest/tests/localXHR.tests.js
index 06b2917..c50105d 100644
--- a/autotest/tests/localXHR.tests.js
+++ b/autotest/tests/localXHR.tests.js
@@ -79,14 +79,6 @@ 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 win = jasmine.createSpy().andCallFake(function (res) { });
-            var lose = createDoNotCallSpy('xhrFail');
-            var xhr = createXHR(path, true, win, lose);
-            waitsForAny(win, lose);
-        });
-
         it("XMLHttpRequest.spec.9 calls onload from successful http get", function () {
             var win = jasmine.createSpy().andCallFake(function (res) { });
             var lose = createDoNotCallSpy('xhrFail');
@@ -184,5 +176,14 @@ if (/Windows Phone/.exec(navigator.userAgent)) {
             var xhr = createXHR("app/www/index.html", true, win, lose);
             waitsForAny(win, lose);
         });
+
+        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 win = jasmine.createSpy().andCallFake(function (res) { });
+            var lose = createDoNotCallSpy('xhrFail');
+            var xhr = createXHR(path, true, win, lose);
+            waitsForAny(win, lose);
+        });
+
     });
 }
\ No newline at end of file


Mime
View raw message