Closed Bug 221973 Opened 21 years ago Closed 16 years ago

Image loaded from user style sheet opened in default browser (result: infinite browser windows opened)

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

1. Set your default browser to any Mozilla Firebird build. 2. Put this in userContent.css: a[href*="mozilla.org"]:before { content: url(http://mozilla.org/images/mozilla-16.png) } /* Also works with http://www.google.com/images/logo.gif in place of that PNG */ 3. Make your home page a local file. 4. Put this in your home page: <a href="http://www.mozilla.org/">Mozilla</a> 5. Launch a DEBUG build of Mozilla Firebird with no command-line parameters. (This bug does not happen in aebrahim's nightlies.) Result: An endless number of browser windows start appearing, like in bug 220803. I have to Ctrl+C to stop them. Changing my default browser to Internet Explorer sort of fixes the problem. Instead an infinite number of Firebird windows, I just get one Internet Explorer window containing http://www.google.com/images/logo.gif and a broken image icon in the Mozilla Firebird window where the image should be. I can reproduce with a new profile using these steps. I can reproduce with a clean tree. I checked out last night. I also had this problem last week with a separate tree.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file c:/buildmoz/mozilla/content/base/src/nsImageLoadingContent.cpp, line 450
Can you reproduce that with Mozilla ?
I haven't built Mozilla recently.
wfm in mozilla. -> firebird
Assignee: jdunn → blake
Component: Image: Layout → General
Product: Browser → Firebird
Version: Trunk → unspecified
Possibly related: bug 221324.
Hrm... spawning new windows probably means we're ending up in the URILoader with this load somehow... why?
Still happens with a build from a few hours ago.
Can anyone tell if this still happens?
Assignee: bross2 → nobody
QA Contact: general
WFM with Firefox on Mac. The PNG icons show up fine in my home page.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.