Open Bug 758740 Opened 13 years ago Updated 3 years ago

Stylesheets included via chrome.manifest disappear

Categories

(Toolkit :: General, defect)

x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: public, Unassigned)

Details

Attachments

(1 file)

When (re)installing or activating an add-on with a stylesheet loaded into an overlay via chrome.manifest, or when disabling, (un)installing, or enabling another add-on while such an add-on is installed, the add-on using the chrome registration stylesheet works for two restarts - after that the registration seems gone. This issue can also be "solved" for two restarts with restartless add-ons (after restarting once, of course). STR: Clean Profile, tested at TB 12.0.1. I do not explicitly list it, but on each restart close all windows for account creation and making TB the default application, if any. 1. Install attatched reproduction add-on, including doing the restart. -> you should now see the effect of the injected css: red font in menu and toolbar (and some other places as well) and black backgrounds. 2. Close Thunderbird 3. Open Thunderbird 4. Close Thunderbird yet again 5. Open Thunderbird a last time EXPECTED: No change with the restarts, red font on black background ACTUAL: Even though the attatched add-on is still active, one of its stylesheet is not loaded anymore (black backgrounds persist, red font doesn't work anymore). This state consists over further restarts. NOTES: If not following the STR's initial condition of a clean profile (including another theme and some add-ons) the issue is gone with my main profile. Note that I recived a bug report for my add-on LightningButton because of this issue, so it seems that there are some cases this occurs on real-world profiles. I have no idea what change "solved" the issue in my main profile. I tested extracting the files and linking with a path in a text file named "bugrep@rsjtdrjgfuzkfg.com" in the profile's extension folder, regular install from file using the button next to the add-on search field and installation via dragging the file to the extensions page within the add-on tab.
Attachment #627318 - Attachment description: Test Extension to reproduce the bug → Test Extension to reproduce the bug in Thunderbird or Firefox

It has an id attribute so it can be referred to later if necessary, either in a script or for styling with CSS https://www.mcdvoice.onl/

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: