Comment #2 on issue 1763 by kpreid.switchb.org: jQuery JSONP fails
http://code.google.com/p/google-caja/issues/detail?id=1763

The error indirectly results from script nodes that are *not* created by createElement (are already in the document, but not yet tamed until we looked at them) getting tamed; in this case the <script src="jquery.js"> in a complete test case. I've got a fix for this, but jsonp still doesn't work.

It appears that jQuery JSONP works by using the JSONP callback to stash the content in a variable _only_, and fires the callback by listening for an onload event from the script, which we do not simulate.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to