jquery-iframe-transport
jquery-iframe-transport copied to clipboard
Runtime error in IE when REST request threw an exception
In IE9, if the server request threw an exception, the reference to "this.contentWindow.document" at line 182 throws an "Access Denied" runtime exception. (Thank you, Microsoft.) Wrapping the current load function implementation in a try/catch:
try { var doc = [...] [...] } catch (e) { cleanUp(); completeCallback(500, "Internal Server Error"); }
appears to fix the problem.
Any thoughts or comments on this would-be workaround?
Dave
:+1: I'm running into this as well.
Any updates on this?