Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051211 Firefox/1.5 Plus same date's trunk build. When the XUL cache is enabled, accessing document.styleSheets.title from within a XUL overlay returns the correct stylesheet title the first time and is empty every time after. When the XUL cache is disabled, document.styleSheets.title returns the correct title every time. I'm not sure if this is by design but I'm assuming the XUL cache is supposed to be invisible.
Comment on attachment 205613 [details] Testcase (apply as an overlay to demonstrate bug) When the XUL cache is disabled the "testcase" returns the following every time: Global 1 Global 2 Global 3 When the XUL cache is enabled it returns the previous message the first time and is blank on all successive loads.
Attachment #205613 - Attachment description: Overlay file that demonstrates the problem → Testcase (apply as an overlay to demonstrate bug)
I can confirm this with TB 1.5 release on Win2k: my addon's stylesheet got loaded fine, but its title was missing arbitrarily once in while. (I manipulate styles by script and grab the stylesheet by title - which didn't work, obviously. :( )
Status: UNCONFIRMED → NEW
Ever confirmed: true
Fixed in bug 319654.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Depends on: 319654
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.