Opened 13 years ago

Closed 9 years ago

#10176 closed defect (wontfix)

dojo.hash throws exceptions in IE6 and IE7 if the server becomes unreachable

Reported by: Rob Retchless Owned by: Rob Retchless
Priority: high Milestone: tbd
Component: Core Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:


The hidden iframe fetches blank.html from the server. If the server goes down for any reason, the iframe shows "page cannot be reached", which is not on the same domain as the outer page, causing "Permission Denied" when the polling logic tries to read the iframe query string.

The fix: try catch a dummy read of the iframe query string and do error avoidance if an exception is caught. In this case, dojo.hash should still notify subscribers of hash changes when they happen, but don't add a back history entry and log an error. This will give subscribers a chance to react to the hashchange, and to show their own connection error messages.

Attachments (1)

hash-20091003.patch (3.4 KB) - added by Adam Peller 13 years ago.
Patch from Rob Retchless (IBM, CCLA)

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by Adam Peller

Owner: changed from anonymous to Adam Peller
Status: newassigned

Changed 13 years ago by Adam Peller

Attachment: hash-20091003.patch added

Patch from Rob Retchless (IBM, CCLA)

comment:2 Changed 13 years ago by Adam Peller

Resolution: fixed
Status: assignedclosed

(In [20643]) Check for exceptions if connection fails in IE. Patch from retchless. Fixes #10176 !strict

comment:3 Changed 11 years ago by kylehayes

Resolution: fixed
Status: closedreopened

I'm still seeing this issue in 1.6

comment:4 Changed 11 years ago by Adam Peller

Owner: changed from Adam Peller to Rob Retchless
Status: reopenednew

comment:5 Changed 10 years ago by bill

Milestone: 1.4tbd

comment:6 Changed 9 years ago by bill

Resolution: wontfix
Status: newclosed

Given the decline of IE6, probably this won't be fixed.

Note: See TracTickets for help on using tickets.