The default bug view has changed. See this FAQ.

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

RESOLVED WORKSFORME

Status

()

Core
XUL
RESOLVED WORKSFORME
9 years ago
8 years ago

People

(Reporter: Matt Crocker, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

5.14 KB, application/x-xpinstall
Details
(Reporter)

Description

9 years ago
Created attachment 307163 [details]
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

Updated

9 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets

Comment 1

9 years ago
Bug 454772 is a similar issue though the scenario is somewhat different.

Comment 2

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.