[Webkit-unassigned] [Bug 30281] New: LayoutTests/fast/cookies/local-file-can-set-cookies-expected.txt fails when cookies for document already exist

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 10 18:04:05 PDT 2009


           Summary: LayoutTests/fast/cookies/local-file-can-set-cookies-ex
                    pected.txt fails when cookies for document already
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P4
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tailofthesun at gmail.com

Jason Yan <tailofthesun at gmail.com> changed:

           What    |Removed                     |Added
  Attachment #40995|                            |review?
               Flag|                            |

Created an attachment (id=40995)
 --> (https://bugs.webkit.org/attachment.cgi?id=40995)
patch against r49292

Tested on r49292,
LayoutTests/fast/cookies/local-file-can-set-cookies-expected.txt will fail if
there are other local file cookies already set on the path the test is being
run from.  On my machine, the path was "/" and there were other cookies set
already.  This results in a failure because the test checks document.cookie to
make sure "ppkcookie1=testcookie" is the only cookie set.  The attached patch
changes this to check to use document.cookie.indexOf instead of the equality of

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