Closed Bug 414529 Opened 16 years ago Closed 12 years ago

After exit Firefox 3 beta2 process stay alive, with HTML Validator extension enabled

Categories

(Core :: Networking: Cache, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mgueury, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

I am the extension author. My extension exists since a long time. And recently
I discovered a problem that exists only for some HTML pages ? when they are read from the cache.

In Firefox 2.0, when looking the same page, Firefox completely hangs.
In Firefox 3.0, it is better. It seems to work fine. But when exiting Firefox, the process stay alive. You need to kill it via the Task Manager on Windows.

It happens after opening a channel for getting a HTML page from the cache.

    var ios = Components.classes["@mozilla.org/network/io-service;1"]
                        .getService(Components.interfaces.nsIIOService);
    var channel = ios.newChannel( url, urlCharset, null );
    [...]
    var stream = channel.open();  <- HANGS


Reproducible: Always

Steps to Reproduce:
1. Download the HTML Validator extension. It is available here:
  > http://users.skynet.be/mgueury/mozilla/download.html
2. Restart firefox
3. Go to http://www.dquinn.net/home/404.php
4. Exit firefox
Actual Results:  
-> The process stays in memory

Expected Results:  
-> The process quits

I logged a bug some time ago for Firefox 2.0. This is exactly the same bug but for Firefox 3.0. The result is different, but the cause is the same.

https://bugzilla.mozilla.org/show_bug.cgi?id=405954
Component: General → Networking: Cache
Product: Firefox → Core
QA Contact: general → networking.cache
Version: unspecified → Trunk
I tested this with latest trunk on Windows XP but couldn't reproduce the problem. When I close the browser the process exits normally.
wfm (comment #1)
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.