You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sg...@apache.org on 2015/03/26 08:36:57 UTC

spec commit: CB-8742 fixed XMLHttpRequest.spec.6 to use local variable

Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master ac1b637ba -> 126c0c411


CB-8742 fixed XMLHttpRequest.spec.6 to use local variable

github close #125


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

Branch: refs/heads/master
Commit: 126c0c41125d93d9f175b765ec5c3137dd291370
Parents: ac1b637
Author: dmitriy-barkalov <v-...@microsoft.com>
Authored: Wed Mar 25 08:41:53 2015 -0700
Committer: sgrebnov <v-...@microsoft.com>
Committed: Thu Mar 26 10:36:55 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/126c0c41/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 835a3d7..1353692 100644
--- a/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js
+++ b/cordova-plugin-mobilespec-tests/tests/localXHR.tests.js
@@ -114,8 +114,8 @@ exports.defineAutoTests = function () {
         });
 
         it("XMLHttpRequest.spec.6 adds hash-path and loads file okay", function (done) {
-            window.location = window.location.href + "#asd/asd/asdasd";
-            createXHR(window.location.href, true, done, errorHandler.onError.bind(null, done));
+            var fileName = window.location.href + "#asd/asd/asdasd";
+            createXHR(fileName, true, done, errorHandler.onError.bind(null, done));
         });
 
         describe("XMLHttpRequest", function () {


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