<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18267</bug_id>
          
          <creation_ts>2008-04-01 17:37:52 -0700</creation_ts>
          <short_desc>Activity fails to report items correctly</short_desc>
          <delta_ts>2008-04-09 10:03:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="nobody">a4list</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76094</commentid>
    <comment_count>0</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2008-04-01 17:37:52 -0700</bug_when>
    <thetext>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 &quot;can&apos;t connect to host&quot; 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 &quot;can&apos;t connect to host&quot; 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 (&quot;can&apos;t connect to
host&quot;) 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 &quot;127.0.0.1  www.somedomain.com&quot; 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 &quot;hosts.txt&quot;, but please note the file on your computer is named &quot;hosts&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76497</commentid>
    <comment_count>1</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2008-04-07 07:07:37 -0700</bug_when>
    <thetext>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 &quot;Activity&quot; keyword, I can find no other similar bug reported.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76735</commentid>
    <comment_count>2</comment_count>
    <who name="nobody">a4list</who>
    <bug_when>2008-04-09 10:03:22 -0700</bug_when>
    <thetext>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.


 </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>