Skip to main content

Bug Tracker

Side navigation

#13989 closed bug (invalid)

Opened June 04, 2013 10:36PM UTC

Closed June 19, 2013 08:47AM UTC

JSONP response yields Parse Error with leading array in JSON

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:

The code that demonstrates this issue can be found at this jsfiddle.

What's going on here is that a simple ajax request is made with datatype as 'jsonp'. The datatype is necessary here because the response must be handled as jsonp in order to handle the response data correctly. However, when the data leads with an array structure --- which is valid JSON, according to --- there appears to be a parse error (according to statusText), even though the response appears to be successful.

Attachments (0)
Change History (2)

Changed June 04, 2013 10:48PM UTC by dmethvin comment:1

owner: →
status: newpending

I'm not seeing an error. Is this only on a specific browser? Can you drop a screenshot somewhere to show what you see?

Changed June 19, 2013 08:47AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!