Opened 12 years ago

Closed 11 years ago

#6064 closed enhancement (fixed)

extend dojo.io.script to allow attaching to child iframes

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.2
Component: IO Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

For comet long polling using script tags, Firefox and Opera operate attached scripts in DOM order, and not network order. This means a long-polling script tag can block other attached scripts.

Allow for a way to tell dojo.io.script to attach and get callbacks from a child iframe, to allow attaching long polling scripts in the iframe. This will free up the main window to do other script attachments without being blocked.

Change History (4)

comment:1 Changed 12 years ago by James Burke

(In [12851]) Refs #6064. Allow dojo.io.script to use a child iframe. This gets the basics in there, and leaves the higher order issues of setting up the iframe to the user. Still need to document it. Ideally also show an example, but that might take longer.

comment:2 Changed 12 years ago by James Burke

Milestone: 1.11.2

Pushing this to 1.2 for the more complete example, maybe a dojox.io module to handle this. For now the basic enabling layer is in.

comment:3 Changed 11 years ago by James Burke

(In [14235]) Refs #6064: get script removing working with frameDoc, and also fixes a multiversion bug with a 'dojo' string reference.

comment:4 Changed 11 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [14236]) Fixes #6064: provides dojox.io.scriptFrame for running long-polling script tags in an iframe.

Note: See TracTickets for help on using tickets.