[Webkit-unassigned] [Bug 42240] [GTK] http/tests/media/video-cookie.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 15 04:15:25 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42240


Sergio Villar Senin <svillar at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61638|                            |review?
               Flag|                            |




--- Comment #4 from Sergio Villar Senin <svillar at igalia.com>  2010-07-15 04:15:24 PST ---
Created an attachment (id=61638)
 --> (https://bugs.webkit.org/attachment.cgi?id=61638)
Create SoupCookieJar in tests if it does not exist when setting the accept policy

The problem was that the test was trying to set the cookie accept policy before the SoupCookieJar was actually created. This happens because we create it on demand, i.e the first time a http request is issued. In this test the first request is a file:// url, that's why when the test tries to set the accept policy it fails because there is no SoupCookieJar. After that the following http request creates the soupcookiejar but with the default accept policy, which is no third party. That is the reason why the test was not working

What we do now is to create the SoupCookieJar if the test requests to change the accept policy and the jar was not yet created.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list