Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7356

mobilespec's localXHR test #6 fails on WP8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-mobile-spec

    Description

      Commit https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=6ded156 make spec 6 on the 'local XHR tests' from mobile spec ("XMLHttpRequest.spec.6 should be able to load the current page with hash-part added") failing.

      Seems that problem is in test itself. window.location has been changed inside of test (probably, it's a bad practice), and this cleans XHR callbacks cache, so callbacks for any pending XHR's are never called.

      Do we really want to change window.location before calling XHR?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: