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: | RESOLVED FIXED | ||
| 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: | |||
Karl Dubost
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/132309517>
ccarley2
Pull request: https://github.com/WebKit/WebKit/pull/49617
EWS
Committed 298941@main (a579d4b73ccf): <https://commits.webkit.org/298941@main>
Reviewed commits have been landed. Closing PR #49617 and removing active labels.
EWS
Committed 297297.514@safari-7622-branch (dea318e93536): <https://commits.webkit.org/297297.514@safari-7622-branch>
Reviewed commits have been landed. Closing PR #3752 and removing active labels.