Bug 276940 - digits.t-mobile.com - Safari is not a recommended browser
Summary: digits.t-mobile.com - Safari is not a recommended browser
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://digits.t-mobile.com/
Keywords: InRadar
Depends on: 241749
Blocks:
  Show dependency treegraph
 
Reported: 2024-07-23 02:43 PDT by Karl Dubost
Modified: 2024-07-23 03:05 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>