Opened 7 years ago

Closed 4 years ago

#16232 closed defect (worksforme)

dojox/analytics fails when using dojo/request/script with tests

Reported by: dylan Owned by: dylan
Priority: high Milestone: 1.11
Component: Dojox Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:

Description

dojox/analytics is failing to work when using dojo/request/script rather than dojo/request.

Error message in FF:

SyntaxError?: invalid label [Break On This Error]

{"eventsReceived": "1", "id": "1"}

dojoxA...0153620 (line 1, col 1)

I've tried various approaches of adding handleAs to make it handle JSON, etc., without success.

Change History (4)

comment:1 Changed 7 years ago by ben hockey

is it related to my comment on #16229?

comment:2 Changed 6 years ago by bill

Milestone: 1.91.10

Bumping this ticket since we are past the deadline for the 1.9RC. The fix can be put into 1.9.1 too, if desired.

comment:3 Changed 5 years ago by dylan

Milestone: 1.101.11
Owner: changed from Bryan Forbes to dylan
Status: newassigned

comment:4 Changed 4 years ago by dylan

Resolution: worksforme
Status: assignedclosed

These seems to be working fine when testing dojox/analytics/tests/test_analytics-async.html, as long as you change the analyticsUrl to be something on the same domain.

Note: See TracTickets for help on using tickets.