Closed Bug 286253 Opened 20 years ago Closed 15 years ago

Startup crash after extension [un]install if "@import" line in userContent.css

Categories

(Core :: Layout, defect)

1.8 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: robertpaul, Unassigned)

Details

(Keywords: crash, stackwanted)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Firefox will crash on startup if, after installing or uninstalling an extension, there is an "@import http://www.whatever.com/cssfile.css" line in the userContent.css file. This was reproducable using many different CSS files, and many different extensions. I'd offer Talkback info, but it doesn't seem to come up after the crash. Reproducible: Always Steps to Reproduce: 1. Add an @import line to your userContent.css file. (Use http://www.rmpmusic.com/deviantart/blackdeviantart.css if you need a working URL.) 2. Install or uninstall an extention. 3. Restart firefox, note crash. 4. Edit the @import line out of userContent.css and restart Firefox 5. Firefox will start successfully. Actual Results: Crash, with successful startup only after a manual file edit. Expected Results: Started up without crashing.
Keywords: crash, stackwanted
Same results when "@import URL("http://adblock.f2g.net/sites.css");" is in my userContent.css.
(In reply to comment #1) > Same results when "@import URL("http://adblock.f2g.net/sites.css");" is in my > userContent.css. That's in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050505 Firefox/1.0+ nightly build btw.
I'm seeing the same behavior in 1.0.4 as well as Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050512 Firefox/1.0+ However, importing local CSS files does not seem to result in the same behavior. I have the following at the beginning of my userContent.css: @import url("mozillaZine/mozillazine.css"); @import url("adblock/ad_blocking.css"); @import url("adblock/sites.css"); I don't experience any crashes with the above.
I am new hear and need to know how to fix this problem. I am using Win2k, Firefox1.04
This remains in 1.0.6. (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.10) Gecko/20050822 Firefox/1.0.6)
(In reply to comment #5) > This remains in 1.0.6. (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.10) > Gecko/20050822 Firefox/1.0.6) Still present in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 ie 1.5 beta 1 There's no need to [un]install an extension, a simple http-import in userContent.css will do for a crash.
Still exists in 1.5 beta 2.
Still present in 1.5RC1.
Still present in 1.5RC2.
Still persists in 1.5 RC 3
Still present in 1.5 Official Release.
Still alive & well in 1.5.0.1
AFAICT userContent.css isn't supposed to contain remotely-loaded styles. Still, it shouldn't crash. This report is in the wrong component, moving to Layout.
Component: General → Layout
Product: Firefox → Core
Version: unspecified → 1.8 Branch
Assignee: firefox → nobody
QA Contact: general → layout
WFM Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20060814 Minefield/3.0a1
WFM Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20090913 Minefield/3.7a1pre
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.