Opened 12 years ago

Closed 12 years ago

#11464 closed defect (fixed)

dojo.hash throws 'Permission denied'-exception in IE when used via Google CDN

Reported by: Harold Vernooys Owned by: anonymous
Priority: high Milestone: 1.6
Component: Core Version: 1.4.3
Keywords: hash cdn ie permission denied Cc:
Blocked By: Blocking:


These lines:

<script type="text/javascript" src=""></script> <script type="text/javascript">dojo.require("dojo.hash");</script>

are enough to throw a 'Permission denied'-exception in IE, whereas with these lines:

<script type="text/javascript" src="dojo-release-1.4.3/dojo/dojo.js.uncompressed.js"></script> <script type="text/javascript">dojo.require("dojo.hash");</script>

everything works fine. I think it's because of the cross-domain iframe construction that's used in case of IE. In other browsers everything works as expected.

Change History (2)

comment:1 Changed 12 years ago by James Burke

Milestone: 1.6
Priority: highnormal
severity: majornormal

If you set djConfig.dojoBlankHtmlUrl = 'some/local/domain/path/to/blank.html', then it should work from the CDN. Save the dojo/resources/blank.html to your local domain and then refer to that path in the djConfig value.

I will commit a change that warns the developer to use the djConfig value for xdomain builds.

comment:2 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [22530]) Fixes #11464, inform developer if blank.html needs to be on a local path for xdomain use of dojo.hash.

Note: See TracTickets for help on using tickets.