You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/05/19 23:34:00 UTC

[jira] [Resolved] (CB-7356) mobilespec's localXHR test #6 fails on WP8

     [ https://issues.apache.org/jira/browse/CB-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile resolved CB-7356.
------------------------------
    Resolution: Fixed

This was fixed but never closed, closing now

> mobilespec's localXHR test #6 fails on WP8
> ------------------------------------------
>
>                 Key: CB-7356
>                 URL: https://issues.apache.org/jira/browse/CB-7356
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-mobile-spec
>            Reporter: Vladimir Kotikov
>            Priority: Major
>              Labels: mobilespec, wp8
>
> 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?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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