Closed Bug 420815 Opened 16 years ago Closed 15 years ago

XUL Cache interferes with onload when loading multiple instances of the same XUL file

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: matt, Unassigned)

References

Details

Attachments

(1 file)

5.14 KB, application/x-xpinstall
Details
Attached file Test XPI
It is possible for XUL documents to miss the load event in the following scenario:
* Loading a chrome XUL file into multiple tabs at 
  the same time
* The URLs include a querystring
* The URLs are identical
* The XUL Cache is enabled
* The XUL file includes a JavaScript file

When loading the same XUL file in 5 tabs at once on average only 3 of the documents receive load events.  Changing any of the points above cause it to work just fine.

This is Firefox/3.0b3pre on a Mac Pro.

STR:
1. Install the attached test extension in Minefield
2. Restart
3. Wait 4 seconds
4. Note that the extension has opened multiple tabs
   containing the same XUL document
5. Note that only some of the tabs contain the 
   text "SEEN LOAD"
Component: General → XP Toolkit/Widgets: XUL
Product: Firefox → Core
QA Contact: general → xptoolkit.xul
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Bug 454772 is a similar issue though the scenario is somewhat different.
Works for me:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091020 Minefield/3.7a1pre

This was probably fixed by bug 206691, just like bug 321099.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.