Bug 233902 - Add WebCore::RegistrableDomain tests for duplicate sub domains
Summary: Add WebCore::RegistrableDomain tests for duplicate sub domains
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: John Wilander
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-06 16:42 PST by John Wilander
Modified: 2021-12-06 17:20 PST (History)
1 user (show)

See Also:


Attachments
Patch for landing (2.56 KB, patch)
2021-12-06 16:49 PST, John Wilander
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Wilander 2021-12-06 16:42:37 PST
https://bugs.webkit.org/show_bug.cgi?id=233330 claims that duplicate sub domains such as news.news.example.com causes WebKit's RegistrableDomain matching to fail and treat same-site content as cross-site. We should add tests of such duplicate sub domains.
Comment 1 Radar WebKit Bug Importer 2021-12-06 16:43:09 PST
<rdar://problem/86130326>
Comment 2 John Wilander 2021-12-06 16:49:31 PST
Created attachment 446097 [details]
Patch for landing
Comment 3 EWS 2021-12-06 17:20:13 PST
Committed r286582 (?): <https://commits.webkit.org/r286582>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 446097 [details].