Opened 9 years ago

Closed 7 years ago

#11240 closed defect (patchwelcome)

dojox.gfx doesn't work in iframe on IE

Reported by: OldGuru Owned by: Eugene Lazutkin
Priority: high Milestone: 1.9
Component: DojoX GFX Version: 1.4.3
Keywords: dojox, gfx, IE, Internet Explorer, iframe, Cc:
Blocked By: Blocking:

Description

When I create an iframe and try to render graphics, IE issues the following error when dojox.gfx.createSurface() is called. It works fine in Firefox.

Unexpected call to method or property access

I load dojo after the page was loaded, so I created the test case accordingly. The test case consists of files gfxcase.html and Print.html. To run the test, place the files in a directory and navigate to gfxcase.html.

There is also a topic in Dojo Toolkit forum regarding this problem: http://dojo-toolkit.33424.n3.nabble.com/dojox-gfx-doesn-t-work-in-iframe-on-IE-td853823.html#a853823

Attachments (2)

gfxcase.html (2.3 KB) - added by OldGuru 9 years ago.
Print.html (600 bytes) - added by OldGuru 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by OldGuru

Attachment: gfxcase.html added

Changed 9 years ago by OldGuru

Attachment: Print.html added

comment:1 Changed 9 years ago by Eugene Lazutkin

Milestone: tbdfuture
Status: newassigned

comment:2 in reply to:  1 Changed 9 years ago by OldGuru

Replying to elazutkin: I noticed a mistake in creating the ticket. I didn't set the affected version and the 1.5.0b2 was taken by default. In fact, this bug affects the STABLE release (1.4.3) and should be treated accordingly.

comment:3 Changed 9 years ago by Eugene Lazutkin

Version: 1.5.0b21.4.3

Right. It affects all versions of Dojo --- we never supported cross-frame creation of objects on IE. I am tempted to close it as "wontfix".

comment:4 Changed 7 years ago by dylan

Milestone: future1.9
Resolution: patchwelcome
Status: assignedclosed

We would welcome a patch to solve this, but given the lack of interest in fixing this to date, I'm closing until a patch is received.

Note: See TracTickets for help on using tickets.