Opened 15 years ago

Closed 15 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:


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 15 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 15 years ago by alex


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

comment:3 Changed 15 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:

  • It is not an issue for xdomain builds.

comment:4 Changed 15 years ago by bill


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 15 years ago by bill

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