Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#577 closed defect (fixed)

IframeIO transport does not handle mimetype text/html well

Reported by: James Burke Owned by: James Burke
Priority: high Milestone:
Component: Core Version: 0.2
Keywords: iframeIO iframe transport IframeTransport Cc:
Blocked By: Blocking:


Using "text/html" for the mimetype kw argument for the request (using iframe transport):

In IframeIO.js, this.iframeOnload function treats the text/html case as the else case and tries to use ifw.innerHTML was the return data value. However, this value seems to return undefined. This happened in FF 1.5 and MSIE 6.0. Also, the else case comment indicates that this else is for text/plain.

Perhaps using and getting documentElement.innerHTML might work (not sure if this would work for Safari). I'm also not sure if that will work out for text/plain documents.

Change History (3)

comment:1 Changed 16 years ago by James Burke

Milestone: 0.3.1
Owner: changed from anonymous to James Burke
Status: newassigned

comment:2 Changed 16 years ago by James Burke

Resolution: fixed
Status: assignedclosed

This should be fixed in SVN r4196. If text/html is used, then the document object is returned. See tests/io/test_IframeIO.html.html for a test case. (Having trouble with Safari, but that is bug #672).

comment:3 Changed 15 years ago by (none)

Milestone: 0.3.1

Milestone 0.3.1 deleted

Note: See TracTickets for help on using tickets.