[ 
https://issues.apache.org/jira/browse/CB-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105492#comment-14105492
 ] 

Martin Gonzalez commented on CB-7356:
-------------------------------------

Yes I did that yesterday, I was about to deliver the same fix.
window.location it's a read-only object, I agree try to modify its value, it's 
a bad practice.

Thanks Vlad.

> 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: mobile-spec
>            Reporter: Vladimir Kotikov
>              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
(v6.2#6252)

Reply via email to