I am having errors using the Google JsAPI loader when serving the document 
as "application/xhtml+xml".
The JsAPI script is using "document.write" to add scripts to the page. It 
should be using "document.createElement".
Doing an online search I found the bug reported elsewhere, but it needs to 
be reported to the JsAPI team:

*What steps will reproduce the problem?*
Step 1. Create a web page using Google JSAPI.
Step 2. Serve as `application/xhtml+xml`
Step 3. Silently fail, Javascript scope fatal errors.
*What is the expected output? What do you see instead?*
I expect it to not die, or for it to warn with a *very* descriptive alert() 
telling the developer that the MIME type / browser combo isn't supported.


-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-ajax-search-api/-/ZXl8rcLoiLIJ.
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/google-ajax-search-api?hl=en.

Reply via email to