<?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>62662</bug_id>
          
          <creation_ts>2011-06-14 13:47:15 -0700</creation_ts>
          <short_desc>inspector/cookie-parser.html is a flaky crash</short_desc>
          <delta_ts>2014-12-12 14:09:04 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="WebKit Review Bot">webkit.review.bot</reporter>
          <assigned_to name="Pavel Feldman">pfeldman</assigned_to>
          <cc>abarth</cc>
    
    <cc>abecsi</cc>
    
    <cc>caseq</cc>
    
    <cc>dglazkov</cc>
    
    <cc>kbalazs</cc>
    
    <cc>kkristof</cc>
    
    <cc>ossy</cc>
    
    <cc>vsevik</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>420709</commentid>
    <comment_count>0</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-06-14 13:47:15 -0700</bug_when>
    <thetext>[Chromium] inspector/cookie-parser.html is a flaky crash
Requested by dglazkov on #webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>420710</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-06-14 13:47:46 -0700</bug_when>
    <thetext>http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20chromium.org&amp;tests=inspector%2Fcookie-parser.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>420737</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-14 14:45:06 -0700</bug_when>
    <thetext>Dare I ask why the inspector has a cookie parser?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421024</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-06-14 22:49:00 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Dare I ask why the inspector has a cookie parser?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421030</commentid>
    <comment_count>4</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-06-14 23:00:10 -0700</bug_when>
    <thetext>&gt; (In reply to comment #2)
&gt; &gt; Dare I ask why the inspector has a cookie parser?

Feature: Show Cookies and Set-Cookie per request

Cookie parsing is a part of the browser / network stack, i.e. platform-specific. None of the platforms expose APIs for parsing the cookies (Set-Cookie in particular). It often is encapsulated in the network stack. So the options are

a)
- expose parsing APIs on platforms (not always possible)
- extend WebKit API to include parsed structures (no super good reason for that)
- extend Web Inspector protocol to accompany raw headers with parsed structures (also not such a good reason to increase API surface)
b) 
- check whether cookie parsing is conservative enough and do a 100 line snippet with good enough quality that would do that for us

(b) it is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421045</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-14 23:28:02 -0700</bug_when>
    <thetext>Hopefully we use this parsing algorithm:

http://tools.ietf.org/html/rfc6265#section-5.2

:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421057</commentid>
    <comment_count>6</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-06-14 23:37:39 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Hopefully we use this parsing algorithm:
&gt; http://tools.ietf.org/html/rfc6265#section-5.2
&gt; :)

I think caseq@ ported it from Chromium with its deviations from the RFCs accepted by Mozilla and IE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421061</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-14 23:49:09 -0700</bug_when>
    <thetext>&gt; I think caseq@ ported it from Chromium with its deviations from the RFCs accepted by Mozilla and IE.

There shouldn&apos;t be any deviations from RFC 6265.  (That&apos;s the whole point of that spec.)  We&apos;re cleaning up any deviations that we discover to match that spec precisely.  If you know of any deviations, please let me know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421065</commentid>
    <comment_count>8</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-06-14 23:55:22 -0700</bug_when>
    <thetext>&gt; There shouldn&apos;t be any deviations from RFC 6265.  (That&apos;s the whole point of that spec.)  We&apos;re cleaning up any deviations that we discover to match that spec precisely.  If you know of any deviations, please let me know.

Oh, I was not familiar with the effort. I implied deviations from the old 2109/2965. Things like http://codesearch.google.com/#OAMlx_jo-ck/src/net/base/cookie_monster.cc&amp;exact_package=chromium&amp;q=offer%5Csan%5Csoption%5Csfor%5Csquoted&amp;l=1829. We&apos;ll probably need to sync our port once the cleanup is complete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421068</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-14 23:58:15 -0700</bug_when>
    <thetext>&gt; Oh, I was not familiar with the effort. I implied deviations from the old 2109/2965.

Yes.  Those specs are not related to reality.

&gt; Things like http://codesearch.google.com/#OAMlx_jo-ck/src/net/base/cookie_monster.cc&amp;exact_package=chromium&amp;q=offer%5Csan%5Csoption%5Csfor%5Csquoted&amp;l=1829.

It&apos;s now clear how quoted strings should be handled.  I personally changed Firefox to match IE, Chrome, and RFC 6265.  Paul has promised to change CFNetwork to match as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421073</commentid>
    <comment_count>10</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-15 00:05:22 -0700</bug_when>
    <thetext>I&apos;ve posted http://codereview.chromium.org/7155016 to remove these out-of-date and confusing comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421083</commentid>
    <comment_count>11</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-06-15 00:32:27 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; I&apos;ve posted http://codereview.chromium.org/7155016 to remove these out-of-date and confusing comments.

Filed https://bugs.webkit.org/show_bug.cgi?id=62700 on inspector requiring its validation against the new rfc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>434737</commentid>
    <comment_count>12</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-07-11 03:31:44 -0700</bug_when>
    <thetext>It isn&apos;t Chromium specific bug, because this test asserts 
on Qt in debug mode with NRWT, but passes with ORWT.

error log with r90729:

ASSERTION FAILED: enabled || !supportsProfiling()
../../../Source/WebCore/bindings/js/JSDOMWindowBase.cpp(126) : virtual bool WebCore::JSDOMWindowBase::supportsRichSourceInfo() const</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>486740</commentid>
    <comment_count>13</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2011-10-19 06:50:52 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; It isn&apos;t Chromium specific bug, because this test asserts 
&gt; on Qt in debug mode with NRWT, but passes with ORWT.
&gt; 
&gt; error log with r90729:
&gt; 
&gt; ASSERTION FAILED: enabled || !supportsProfiling()
&gt; ../../../Source/WebCore/bindings/js/JSDOMWindowBase.cpp(126) : virtual bool WebCore::JSDOMWindowBase::supportsRichSourceInfo() const

After skip, the same assert failed with /inspector/cookie-resource-match-crash on Qt-Linux-x86_32-Debug: http://build.webkit.sed.hu/results/x86-32%20Linux%20Qt%20Debug/r97849%20(19079)/inspector/cookie-resource-match-crash-log.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>486741</commentid>
    <comment_count>14</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-19 06:54:31 -0700</bug_when>
    <thetext>It is the first inspector test ... maybe skipping it too solve the problem ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>486789</commentid>
    <comment_count>15</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2011-10-19 07:51:26 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; It is the first inspector test ... maybe skipping it too solve the problem ...

Let&apos;s try it. Skipped in http://trac.webkit.org/changeset/97862</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>490006</commentid>
    <comment_count>16</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-25 06:45:31 -0700</bug_when>
    <thetext>One more test skipped by http://trac.webkit.org/changeset/98338</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>490928</commentid>
    <comment_count>17</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2011-10-26 09:33:19 -0700</bug_when>
    <thetext>Trying a better approach to handle the bots by using test_expectations. Set the first one as CRASH+PASS: http://trac.webkit.org/changeset/98490.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1055109</commentid>
    <comment_count>18</comment_count>
    <who name="Brian Burg">burg</who>
    <bug_when>2014-12-12 14:09:04 -0800</bug_when>
    <thetext>Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>