Commit cd49c294 authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

Test srcdoc/blank/data-url vs cookies inheritance.

Add regression tests for https://crbug.com/1003167.

This checks what happens with cookies in iframes when using special
URLs like about:srcdoc, about:blank, and data-URLs. This checks
normal navigations and history navigations.

This is able to trigger the DumpWithoutCrashing() in:
network::RestrictedCookieManager::ValidateAccessToCookiesAt

Tests=
 - NavigationBaseBrowserTest.CookiesInheritedSrcDoc
 - NavigationBaseBrowserTest.CookiesInheritedAboutBlank
 - NavigationBaseBrowserTest.CookiesInheritedAboutBlank2
 - NavigationBaseBrowserTest.CookiesInheritedDataUrl

Bug: 1003167
Change-Id: I73b9e62021490cfb74caf49c32009171dd9bea00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1831762Reviewed-by: default avatarArthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Reviewed-by: default avatarŁukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701630}
parent 8e79c9fc
This diff is collapsed.
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