Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 5949f4e71 -> 46c804ff0


CB-7356 Fix spec.6 failing on WP8


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

Branch: refs/heads/master
Commit: 52c7b1a551444bc2f7b7290a20b7bfa9a1f4ec77
Parents: f282c5f
Author: Vladimir Kotikov <[email protected]>
Authored: Thu Aug 21 13:13:50 2014 +0400
Committer: Vladimir Kotikov <[email protected]>
Committed: Thu Aug 21 13:32:54 2014 +0400

----------------------------------------------------------------------
 www/autotest/tests/localXHR.tests.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/52c7b1a5/www/autotest/tests/localXHR.tests.js
----------------------------------------------------------------------
diff --git a/www/autotest/tests/localXHR.tests.js 
b/www/autotest/tests/localXHR.tests.js
index c50105d..19847a9 100644
--- a/www/autotest/tests/localXHR.tests.js
+++ b/www/autotest/tests/localXHR.tests.js
@@ -108,11 +108,11 @@ describe("XMLHttpRequest", function () {
             waitsForAny(win, lose);
         });
 
-        it("XMLHttpRequest.spec.6 adds hash-path and loads file okay", 
function () {
-            window.location = window.location.href + "#asd/asd/asdasd";
+        it("XMLHttpRequest.spec.6 should be able to load the current page with 
hash-part added", function () {
             var win = jasmine.createSpy().andCallFake(function (res) { });
             var lose = createDoNotCallSpy('xhrFail');
-            var xhr = createXHR(window.location.href, true, win, lose);
+            var fileName = window.location.href + "#asd/asd/asdasd";
+            var xhr = createXHR(fileName, true, win, lose);
             waitsForAny(win, lose);
         });
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to