Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1392 closed defect (duplicate)

Mixed content error in hostenv_browser.js

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.3
Keywords: Cc: [email protected]
Blocked By: Blocking:


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.

Change History (2)

comment:1 Changed 15 years ago by [email protected]

Resolution: duplicate
Status: newclosed

Looks like has already been reported per #1342.

comment:2 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.