[TIMOB-13630] Mobile Web: analytics.js continues to use iFrame for request despite setting ti-analytics-use-xhr to true
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-18T02:31:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 26, 2013 Sprint 26 Core, Release 3.2.0 |
Components | MobileWeb |
Labels | qe-closed-3.2.0 |
Reporter | Anatoliy Odukha |
Assignee | Chris Barber |
Created | 2013-04-18T22:53:13.000+0000 |
Updated | 2013-12-19T19:41:34.000+0000 |
Description
In index.html it is configured in following way:
var require = {
app: {
analytics: true,
...
has: {
...
"ti-analytics-use-xhr": true,
but analytics.js continue use iframe for request.
and ignoring code in analytics.js
if (has("analytics-use-xhr")) {
var xhr = new XmlHttpRequest;
Attachments
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5132 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5133
Confirmed as fixed by [~cbarber] and [~emerriman]
Closing as fixed: Attached the log.