--- Comment #5 from Roan Kattouw <roan.katt...@gmail.com> 2010-09-29 15:21:22
(In reply to comment #4)
> ticket collision:
> It's not JSON though is it ? I mean it has "Geo =" that makes it JS, much like
> application/json should only be used icw. XMLHTTPRequest objects I think.
This is the right application, comment #2 and comment #3 are wrong.
executable JS that does something (call a function or set a variable) with
inlined JSON data.
application/json is the MIME type for data encoded as JSON. By itself, this is
valid JS, but executing it doesn't do much. This is used by XHR (i.e. normal
same-domain AJAX) to grab JSON data that is then parsed (not executed!).
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Wikibugs-l mailing list