Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#2067 closed defect (fixed)

Editor2 Widget Has ActiveX Message/Error On Internet Explorer 7

Reported by: bradneuberg Owned by: liucougar
Priority: blocker Milestone:
Component: Editor Version: 0.4.1rc1
Keywords: internet explorer ie editor Cc:
Blocked By: Blocking:

Description

On Internet Explorer 7, with the default security settings on that most of the world has, when you go to a page that uses the Editor2/Editor widgets you get the following ActiveX error and notice:

This website wants to run the following add-on: 'Microsoft (R) Dynamic HTML Editing Control' from 'Microsoft Corporation'. If you trust the website and the add-on and want to allow it to run, click here...

You have to agree to it twice, and the page reloads twice.

This might prevent most users from ever running this, since it looks like a 'scary' ActiveX control. I think what might be going on here is that the Editor widget internally goes through the known ActiveX names for DHTML controls, but has the order wrong; it might pull in an older one that is not on the trusted list for IE 7. Going with the latest ActiveX 'name' might cause this error to go away.

Most developers don't see this bug because they have already agreed to allow lots of wierd things to run on their copy of IE 7. To reproduce:

Go Tools > Internet Options...

Click the Advanced Tab.

Click "Restore Advanced Settings". Click "Reset..." button and confirm.

You have now reset your version of IE 7 to it's factory security settings and defaults.

I have bundled up this bug into a simplified test case, named ie_bug.html and ie_bug.js. Download these from this bug and put them into your dojo root folder, next to the dojo.js file, in a 0.4.1 branch checkout. Then navigate to them through HTTP with a real domain name (i.e. if you are running a local web server, update your hosts file with a fake domain name like 'brad.com'). Commonly most web browsers have different security policies for local IP addresses and ones from domain ones.

This bug affects me with Dojo Storage because when users navigate to the Dojo Storage demo application bundled with Dojo, named Moxie, they will get this error on IE 7.

Attachments (2)

ie_bug.html (1.6 KB) - added by bradneuberg 13 years ago.
Simplified Test Case that Shows This Bug
ie_bug.js (712 bytes) - added by bradneuberg 13 years ago.
Simplified Test Case that Shows This Bug

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by bradneuberg

Attachment: ie_bug.html added

Simplified Test Case that Shows This Bug

Changed 13 years ago by bradneuberg

Attachment: ie_bug.js added

Simplified Test Case that Shows This Bug

comment:1 Changed 13 years ago by bradneuberg

Forgot to provide some more platform details:

Windows XP Professional Version 2002 SP 2, Internet Explorer 7.0.5730.11 Running on Parallels on a Mac that is a MacBook? Pro, 2.16 GHz Intel Core Duo

comment:2 Changed 13 years ago by liucougar

Resolution: fixed
Status: newclosed
Version: 0.4.10.4.1rc1

this should have been fixed in trunk and 0.4.1 branch

if not, please reopen this

comment:3 Changed 13 years ago by bradneuberg

Resolution: fixed
Status: closedreopened

I found this on the 0.4.1rc2 branch, so this is definently still alive. Did you fix the bug, or just close it thinking it was fixed? Reopening.

comment:4 Changed 13 years ago by liucougar

Resolution: fixed
Status: reopenedclosed

(In [6781]) fixes #2067

comment:5 Changed 12 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.