Monday, October 29, 2012

xsiframe linker : Having access denied problem for scriptFrame.contentDocument in IE

I am creating a bookmarklet with GWT and used the suggested xsiframe linker to handle the cross domain issue.
What's in the bookmark is just inserting a <script> tag referencing the mybookmark.nocache.js.

It's working pretty fine in chrome and firefox. and here comes the problem for IE, hmm again?

An exception was thrown on the line: frameDoc = scriptFrame.contentDocument;  (in mybookmark.nocache.js)
Obviously, as usual, the nocache.js was trying to create an iframe to host a <script> tag which will download the corresponding <MD5>.cache.js

Any idea to solve this issue? 

Thanks!


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ShdWTz-qRCgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment