I'm sending an XMLHttpRequest which returns the following JSON string:
{"error":[],"msg":[],"instances":[{"properties":{"url":"\/foo"
,"instance":"8","datamodel":"page","name":"foo","template":null,"parent":null
,"position":"0","published":"1","children":"0"}}]}
I can console.log the response and it displays exactly that, but the
Response tab in the XMLHttpRequest shows this:
{"error":[],"msg":[],"instances":[{"properties":{"url":"\/foo"
,"instance":"8","datamodel":"page","name":"foo","template":null,"parent":null
,"position":"0","published":"1","children":"0"}}]} ({error: [],
msg: [], instances: [{properties:
{url: "/foo", instance: "8", datamodel: "page", name
: "foo", template: null, parent: null, position: "0",
published: "1", children: "0"}}]});
/* !eval(new String('(' + string + ');)) */
It doesn't even do this for all requests, but some (all responses are
JSON anyway). I haven't even tried with other requests than which
respond in JSON format so I don't know if that matters.
It doesn't break anything but makes reading the response a bit
annoying.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---