Closed
Bug 151075
Opened 22 years ago
Closed 22 years ago
Blocked web pages in hosts file cause alert popup
Categories
(Core :: Networking: HTTP, enhancement)
Tracking
()
People
(Reporter: rbouskila, Assigned: darin.moz)
Details
Attachments
(1 obsolete file)
Hi, I use the fairly prevalent method of blocking adservers by redirecting them with the hosts file to 127.0.0.1. However, in Mozilla (all versions up to and including 1.0, as far as I can tell), this causes an annoying alert to pop up which says "Alert - The connection was refused when attempting to contact foo.bar.com." Would it be possible to have some kind of detection of when a server is referenced in the hosts file (under Win2k, it's in $windir\system32\drivers\etc\) and suppress this popup in those cases? Thanks!
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 28586 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 3•6 years ago
|
||
This patch implements a timer tree system. The basic idea is the same as that of a profiler, however, these timers have two distinct advantages. 1. They measure and report events non-probabalistically, 2. They may provide accuracy that can't be achieved with a sampling profiler The result of this system is a tree of timers, such that you can see how children contributed to the parent time: A (100s) | - B (50s) | - C (40s) | - | - D (30s) In the above timer tree, note that the children do not all add up to the parents: This is a side effect of missing time, which will naturally happen where there has not been annotation with timers. The current prototype annotates baseline compilation (this was chosen just for ease and my own curiosity), and the timers get dumped during context destruction with the environment variable DUMP_TIMERS=1 Improvements Required Before Landing: - Currently the Persistent Timers leak. - Currently using plain old new/delete, should be using a JS allocator. - Handling Off Thread tasks. - Improving Output (JSON?)
Updated•6 years ago
|
Attachment #9028430 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•