You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2014/08/21 11:31:11 UTC
[jira] [Updated] (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 ]
Vladimir Kotikov updated CB-7356:
---------------------------------
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?
was:
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?
> 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)