#1392 closed defect (duplicate)
Mixed content error in hostenv_browser.js
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 0.3 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
When running the latest build with IE via SSL, a mixed content error results from recent changes to hostenv_browser.js. The offending code is attempting to set the source of a script tag to 'javascript:void(0)'.
My workaround for now is:
// for Internet Explorer. readyState will not be achieved on init call, but dojo doesn't need it // however, we'll include it because we don't know if there are other functions added that might. /*@cc_on @*/ /*@if (@_win32) document.write("<script id=__ie_onload defer src="blank.js"></script>"); var script = document.getElementById("__ie_onload"); script.onreadystatechange = function() { if (this.readyState == "complete") { dj_load_init(); // call the onload handler } }; /*@end @*/
The only change from the current code is changing the src attribute to 'blank.js'. While this does work, it may not be the most desirable solution.
Note: See
TracTickets for help on using
tickets.
Looks like has already been reported per #1342.