Ticket #6064 (closed enhancement: fixed)

Opened 9 months ago

Last modified 5 months ago

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

Reported by: jburke Owned by: jburke
Priority: normal Milestone: 1.2
Component: IO Version: 1.0
Severity: normal Keywords:
Cc:

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

Changed 9 months ago by jburke

(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.

Changed 9 months ago by jburke

  • milestone changed from 1.1 to 1.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.

Changed 5 months ago by jburke

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

Changed 5 months ago by jburke

  • status changed from new to closed
  • resolution set to fixed

(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.