WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
110844
REGRESSION (
r143931
): set-cookie-on-redirect.html breaks subsequent tests
https://bugs.webkit.org/show_bug.cgi?id=110844
Summary
REGRESSION (r143931): set-cookie-on-redirect.html breaks subsequent tests
Alexey Proskuryakov
Reported
2013-02-25 21:34:28 PST
This test doesn't clean up cookies, so they show up in subsequent tests, and in particular break third-party-cookie-relaxing.html, because it depends on whether there are already cookies set for the particular first party. Bots hide this misbehavior, because they re-run failing tests, this time without set-cookie-on-redirect.html. Sergio, can you please look into this? I think that the patch will need to be rolled out if this cannot be fixed soon.
Attachments
Patch
(2.29 KB, patch)
2013-02-26 01:28 PST
,
Sergio Villar Senin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
2013-02-26 00:39:17 PST
(In reply to
comment #0
)
> This test doesn't clean up cookies, so they show up in subsequent tests, and in particular break third-party-cookie-relaxing.html, because it depends on whether there are already cookies set for the particular first party. > > Bots hide this misbehavior, because they re-run failing tests, this time without set-cookie-on-redirect.html. > > Sergio, can you please look into this? I think that the patch will need to be rolled out if this cannot be fixed soon.
Sure. It's true that the test I added does not clean up cookies, but in any case, shouldn't third-party-cookie-relaxing.html call clearAllCookies() at the beginning as the other tests do?
Alexey Proskuryakov
Comment 2
2013-02-26 00:48:33 PST
Possibly. Cookie testing machinery is extremely fragile, and I'm not sure if that would help.
Sergio Villar Senin
Comment 3
2013-02-26 01:28:37 PST
Created
attachment 190237
[details]
Patch
WebKit Review Bot
Comment 4
2013-02-26 05:39:20 PST
Comment on
attachment 190237
[details]
Patch Clearing flags on attachment: 190237 Committed
r144045
: <
http://trac.webkit.org/changeset/144045
>
WebKit Review Bot
Comment 5
2013-02-26 05:39:23 PST
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 6
2013-02-26 10:13:01 PST
Confirmed that the patch helped on Mac. Thank you!
Dean Jackson
Comment 7
2013-03-06 17:14:00 PST
More reports in
https://bugs.webkit.org/show_bug.cgi?id=111650
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug