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

147 views
Skip to first unread message

zz

unread,
Oct 29, 2012, 11:23:28 AM10/29/12
to google-we...@googlegroups.com
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!


zz

unread,
Oct 30, 2012, 10:24:38 AM10/30/12
to google-we...@googlegroups.com
My current working solution is to extend the xs linker based on the idea from here. Since many mentioned xs linker is deprecated, an xsiframe solution is still pretty much wanted though.
Reply all
Reply to author
Forward
0 new messages