Commit b0ec2e72 authored by Andrey Kosyakov's avatar Andrey Kosyakov Committed by Commit Bot

Enable 3rd party cookies in TestRunner::Reset()

The default for 3rd-party cookies in content shell has
been changes from "deny" to "allow" by
https://chromium-review.googlesource.com/1196547
However, we still reset it to "deny" when resetting
the TestRunner between tests, which causes inconsistent
behavior for tests that depend on default value.

Bug: 890000
Change-Id: If85535e617eb884e5fdd64c928d558f9fa84bb29
Reviewed-on: https://chromium-review.googlesource.com/1250165Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
Reviewed-by: default avatarMike West <mkwst@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595606}
parent a008c590
......@@ -1565,7 +1565,7 @@ void TestRunner::Reset() {
delegate_->SetDatabaseQuota(kDefaultDatabaseQuota);
delegate_->SetDeviceColorSpace("reset");
delegate_->SetDeviceScaleFactor(GetDefaultDeviceScaleFactor());
delegate_->SetBlockThirdPartyCookies(true);
delegate_->SetBlockThirdPartyCookies(false);
delegate_->SetLocale("");
delegate_->UseUnfortunateSynchronousResizeMode(false);
delegate_->DisableAutoResizeMode(blink::WebSize());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment