Bug 279581
Summary: | Remove Quirk triggerOptionalStorageAccessQuirk for domains not part of Kinja anymore | ||
---|---|---|---|
Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
Component: | WebKit Misc. | Assignee: | Karl Dubost <karlcow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://kinja.com/ | ||
Bug Depends on: | 213418 | ||
Bug Blocks: |
Karl Dubost
On Bug 213418 / rdar://64549429 triggerOptionalStorageAccessQuirk was added in addition to isKinjaLoginAvatarElement Quirk
```
static NeverDestroyed<HashSet<RegistrableDomain>> kinjaQuirks = [] {
HashSet<RegistrableDomain> set;
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("avclub.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("deadspin.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("jalopnik.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("jezebel.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("kotaku.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("lifehacker.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("theroot.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("thetakeout.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("theonion.com"_s));
set.add(RegistrableDomain::uncheckedCreateFromRegistrableDomainString("theinventory.com"_s));
return set;
}();
```
This list is then used later in:
if (kinjaQuirks.get().contains(domain) && isKinjaLoginAvatarElement(element)) { … }
So it becomes moot when these are not part anymore of Kinja Login system.
The list of domains to remove is:
* avclub.com
* deadspin.com
* jezebel.com
* lifehacker.com
* thetakeout.com
* theonion.com
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/135854408>
Karl Dubost
Pull request: https://github.com/WebKit/WebKit/pull/33530
EWS
Committed 283581@main (17d716bf8215): <https://commits.webkit.org/283581@main>
Reviewed commits have been landed. Closing PR #33530 and removing active labels.