Opened 12 years ago

Closed 12 years ago

#2572 closed defect (fixed)

Tooltip test hangs FF 2.0 (PC and mac)

Reported by: bill Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

http://download.dojotoolkit.org/release-0.4.2rc2/dojo-0.4.2rc2-widget/tests/widget/test_Tooltip.html

IE6, IE7, and safari are OK.

Problem also occurs in 0.4.1, but it works in 0.4.0

Change History (5)

comment:1 Changed 12 years ago by bill

Turns out this is the old firefox bug where we can't attacht to DomContentLoaded?. Although we aren't attaching to DomContentLoaded?, the XHR requests are still happening dangerously early. In the test above, looking at firebug, we can see that

  1. all dojo js files downloaded
  2. start downloading 1.jpg and 2.jpg (big files specified in CSS for the page (widget instantiation hasn't started yet
  3. apparently widget instantiation starts: TooltipTemplate?.css download starts
  4. that's when FF hangs, because there are two large requests for images at the same time as a small XHR for Tooltip.css

comment:2 Changed 12 years ago by alex

Milestone: 0.4.20.4.3

is there any valid solution for this other than resolving "wontfix"? Moving to 0.4.3 for further discussion.

comment:3 Changed 12 years ago by James Burke

There are some alternate approaches that can be done to avoid this particular issue:

  • intern-strings. That avoids it, and with 0.4.2, all builds have strings interned, so this should be fixed now:

http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2-ajax/tests/widget/test_Tooltip.html

  • It is not an issue for xdomain builds.

comment:4 Changed 12 years ago by bill

Milestone: 0.4.30.9

I'll just change the CSS to reference a smaller background image, and wait for the FF3.0 release to fix the underlying problem.

comment:5 Changed 12 years ago by bill

Component: WidgetsDijit
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.