Bug 18267 - Activity fails to report items correctly
Summary: Activity fails to report items correctly
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 17:37 PDT by nobody
Modified: 2008-04-09 10:03 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nobody 2008-04-01 17:37:52 PDT
r31535 

In previous builds, and in Apple Safari 3.1, if an item on a webpage cannot be loaded, the item is listed correctly in the Activity window, and the status indicates "can't connect to host" correctly.

In build r31535, such items fail to appear in the Activity window.

Also, errors are underreported in the Status Bar, because such items are not counted as errors.

This behavior is incorrect.

Note: the behavior is not consistent- there are some occasions where an item from a blocked domain will appear in the Activity window with correct "can't connect to host" status, and counted correctly as an error in Status Bar.

 


a few examples:

on www.drudgereport.com:
when domains other than drudgereport.com and d.yimg.com are blocked intentionally-
harvest.adgardener.com items appear in Activity correctly ("can't connect to
host") and is reported correctly as an error in Status Bar. 
other blocked domains do not appear in Activity and are not counted as errors.

on www.cnn.com:
mostly everything blocked, www.cnn.com, i.cdn.turner.com, i.l.cnn.net not
blocked.
metrics.cnn.com is blocked- it is the only blocked domain that appears in
Activity window and counted as error.

http://www.time.com/time/politics/article/0,8599,1725514,00.html :
everything blocked except www.time.com and img.timeinc.net
no blocked items appear in Activity window, no errors



NOTE: to block domain, modify /etc/hosts file to include "127.0.0.1  www.somedomain.com" to cause hostname references to point to localhost instead of the typical domain name lookup. This technique is detailed in bug#18183.

http://bugs.webkit.org/attachment.cgi?id=20274 contains a sample host file which was used to get results illustrated in above examples. The attachment is named "hosts.txt", but please note the file on your computer is named "hosts".
Comment 1 nobody 2008-04-07 07:07:37 PDT
as of r31667, this bug seems to be fixed. 

The Activity window in r31667 seems to be identical to the Activity window in Apple Safari 3.1.

Can someone else confirm this? (When I search bugzilla for "Activity" keyword, I can find no other similar bug reported.)
Comment 2 nobody 2008-04-09 10:03:22 PDT
as of r31738

bug has returned

r31738 is broken again

WebKit underreports Activity, as described above, when compared with Apple Safari 3.1 release.

This bug is a security issue, in that it misinforms the user about who the browser is attempting to contact online.