apps.facebook.com - Dragonkingmahjong is not loading with ETP Strict
Categories
(Web Compatibility :: Privacy: Site Reports, defect, P2)
Tracking
(firefox135 fixed)
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: railioaie, Assigned: bvandersloot)
References
(Blocks 1 open bug, )
Details
(Keywords: webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])
Attachments
(2 files)
Environment:
Operating system: Windows 10
Firefox version: Firefox 128.0
Preconditions:
Clean profile
ETP Strict
Steps to reproduce:
- Navigate to: https://apps.facebook.com/dragonkingmahjong/?ref=bookmarks&fb_source=web_shortcut&count=0
- Observe
Expected Behavior:
The game is loading
Actual Behavior::
The game is not loading
Notes:
- Reproduces in ETP Strict mode only
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/143715
Comment 1•1 year ago
|
||
The breakage comes from some Facebook games using Facebook's gaming domains for serving content. The base domain is on the entity list, but the subdomains the games use are not. The subdomains are arbitrary / specific to the game which means we can't list them all explicitly in our entity list.
Our entity list does not apply automatically for all subdomains of a given entity list domain entry. We should change behavior on Gecko side to fix these breakages.
| Assignee | ||
Comment 2•1 year ago
|
||
Comment 3•1 year ago
|
||
Should we change behavior if the domain is on the PSL? E.g. if we have an entity list entry for github.io should we still treat *.github.io as the same entity?
| Assignee | ||
Comment 4•1 year ago
|
||
I think so. I think we should only match down to PSL+1. And luckily, I am pretty sure that is what my draft does because that is the behavior of getNextSubdomain: https://searchfox.org/mozilla-central/source/netwerk/dns/nsIEffectiveTLDService.idl#219.
Comment 5•1 year ago
|
||
Perfect!
| Assignee | ||
Comment 6•1 year ago
|
||
Our entity list does not apply automatically for all subdomains of a given entity list domain entry. We should change behavior on Gecko side to fix these breakages.
This actually isn't true. Our entitylist does apply for all subdomains of entity list domains. The top level is always a base domain in the entitylist and the resources are tested down 4 levels, per safebrowsing spec. It seems that the behavior may actually be a different Gecko bug having to do with first-partyness. It turns out that the game's resource subdomain is a facebook.com subdomain, and the game is hosted on apps.facebook.com (according to :timhuang; I don't have Facebook). I don't think we should be checking any of these lists in that case- it isn't foreign! We also don't include an entitylist entry in shavar for this case because of this: https://github.com/mozilla-services/shavar-list-creation/blob/main/lists2safebrowsing.py#L364-L365.
I'm going to be chasing down this lead for a little bit, seeing if I can repro this explanation without a Facebook account using some test domains.
| Assignee | ||
Comment 7•1 year ago
|
||
It turns out that in a quick test I wrote, on top level http://test1.example.org, http://tracking.example.org is not flagged as a tracker.
Tim: any chance you can re-confirm that we are blocking a same-site subresource?
Comment 8•1 year ago
|
||
This is what I see in the Devtool network panel. AllowListing www.facebook.com and graph.facebook.com does fix the game.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Backed out for causing bc failures on browser_doublyNestedTracker.js
| Assignee | ||
Comment 11•1 year ago
|
||
This interacted with the recently fixed Bug 1918336 to cause this failure. Fixing that test.
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
Backed out for causing mochitests failures in browser_storageAccessThirdPartyChecks_alwaysPartition.js.
Comment 14•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Comment 15•1 year ago
|
||
| bugherder | ||
Description
•