Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9562511F49 for ; Tue, 8 Apr 2014 22:40:19 +0000 (UTC) Received: (qmail 277 invoked by uid 500); 8 Apr 2014 22:40:19 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 99737 invoked by uid 500); 8 Apr 2014 22:40:13 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 99730 invoked by uid 99); 8 Apr 2014 22:40:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 22:40:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 023FA94EC73; Tue, 8 Apr 2014 22:40:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: purplecabbage@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: spec commit: Updated WP8 CB-6299 test so it doesn't fail elsewhere Date: Tue, 8 Apr 2014 22:40:11 +0000 (UTC) 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 Authored: Tue Apr 8 15:40:06 2014 -0700 Committer: Jesse MacFadyen 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);