Bug 276940

Summary: digits.t-mobile.com - Safari is not a recommended browser
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: emilio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
URL: https://digits.t-mobile.com/
Bug Depends on: 241749    
Bug Blocks:    

Description Karl Dubost 2024-07-23 02:43:13 PDT
This is happening for both Firefox and Safari.

This was reported initially to https://github.com/webcompat/web-bugs/issues/119767
Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1898952
Safari this issue.

The diagnosis is

```js
t.supportBrowser = function () {
      if (c()) return !0;
      if (r && !r.mobile) {
        const e = r.brands;
        if (e.length > 0) for (const t of e) if (['Google Chrome',
        'Microsoft Edge'].includes(t.brand)) return !0
      }
      return !1
    },
```

which relies on the support for Client Hints.

```
const r = navigator.userAgentData;
```

Firefox created a site intervention Quirk to provide an object for the site. 
https://github.com/mozilla-extensions/webcompat-addon/pull/362/files#diff-edfea982a0178b7a37361cb10b82f2fa16a793a3aaddabe651627aea35e8024d
Comment 1 Radar WebKit Bug Importer 2024-07-23 02:44:36 PDT
<rdar://problem/132309517>