<?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>69733</bug_id>
          
          <creation_ts>2011-10-09 14:12:14 -0700</creation_ts>
          <short_desc>Web Inspector: certain cookies not being listed on Resources -&gt; Cookies</short_desc>
          <delta_ts>2011-10-09 16:51:01 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>65770</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Julián Landerreche">maniqui</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>apavlov</cc>
    
    <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>vsevik</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>480751</commentid>
    <comment_count>0</comment_count>
    <who name="Julián Landerreche">maniqui</who>
    <bug_when>2011-10-09 14:12:14 -0700</bug_when>
    <thetext>==Overview==

I was setting up the Google Analytics tracking code in a way that it sets the cookie&apos;s host for a particular subdomain (www.example.com), and not for the whole domain (.example.com).
Once I set it up, and after cleaning the cookies and re-loading the page, I checked the &quot;Resources -&gt; Cookies&quot; tab just to see the &quot;This sites has no cookies&quot; message.
I though I did something wrong so I re-checked the code, and refreshed the page again. Checked the Cookies tab once more... and nothing, totally empty.

I started to suspect that it was an issue on the GA tracking code, but then, I decided to check the cookies on the Chromium Preferences panel: 
&quot;Preferences -&gt; Under The Hood -&gt; Content Settings -&gt;  All Cookies and Site data&quot;

There, I searched for the domain name and I found the cookies! 
The cookies were correctly.

==Steps to reproduce==

1) on your website, set the GA Tracking Code snippet in a way that it sets its cookie only for a certain subdomain.

    _gaq.push([&apos;_setDomainName&apos;, &apos;www.example.com&apos;]);

2) Clean the cookies in your browser

3) Reload the page

4) Open the WebInspector and check the &quot;Resources -&gt; Cookies&quot; tab. It may show up empty!

5) Check cookies on the &quot;Preferences -&gt; Under The Hood -&gt; Content Settings -&gt;  All Cookies and Site data&quot;. You may find the cookies there.

==Build Date &amp; Platform==

Chromium	13.0.782.220 (Developer Build 99552) Built on Debian unstable, running on Debian wheezy/sid
OS	Linux
WebKit	535.1 (trunk@87771)
JavaScript	V8 3.3.10.30
Flash	11.0 d1
User Agent	Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Command Line	 /usr/lib/chromium/chromium --password-store=detect --flag-switches-begin --enable-experimental-extension-apis --new-tab-page-4 --flag-switches-end
Executable Path</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480764</commentid>
    <comment_count>1</comment_count>
    <who name="Vsevolod Vlasov">vsevik</who>
    <bug_when>2011-10-09 16:51:01 -0700</bug_when>
    <thetext>This was already fixed. 
This should work in chromium starting from version 14.

*** This bug has been marked as a duplicate of bug 65770 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>