Bug 1745313 - Remove the Slack UA override. r=twisniewski,webcompat-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D133537
This commit is contained in:
Dennis Schubert 2021-12-10 20:48:37 +00:00
Родитель d9bfd630b6
Коммит 37b83c0655
5 изменённых файлов: 1 добавлений и 52 удалений

Просмотреть файл

@ -534,24 +534,6 @@ const AVAILABLE_INJECTIONS = [
],
},
},
{
id: "bug1727100",
platform: "desktop",
domain: "slack.com",
bug: "1727100",
contentScripts: {
matches: ["*://app.slack.com/*"],
js: [
{
file: "lib/ua_helpers.js",
},
{
file: "injections/js/bug1727100-slack.com-ua-override.js",
},
],
allFrames: true,
},
},
{
id: "bug1738313",
platform: "desktop",

Просмотреть файл

@ -631,25 +631,6 @@ const AVAILABLE_UA_OVERRIDES = [
},
},
},
{
/*
* Bug 1727100 - Add UA override for slack.com
*
* Slack locks some features (like Huddles, and some Call features) behind
* UA sniffing. However, in our tests, everything appears to be working fine
* if we spoof as Chrome.
*/
id: "bug1727100",
platform: "desktop",
domain: "slack.com",
bug: "1727100",
config: {
matches: ["*://app.slack.com/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA("95.0.4638.54");
},
},
},
{
/*
* Bug 1738317 - Add UA override for vmos.cn

Просмотреть файл

@ -1,13 +0,0 @@
"use strict";
/* globals exportFunction, UAHelpers */
UAHelpers.overrideWithDeviceAppropriateChromeUA("95.0.4638.54");
Object.defineProperty(window.navigator.wrappedJSObject, "vendor", {
get: exportFunction(function() {
return "Google Inc.";
}, window),
set: exportFunction(function() {}, window),
});

Просмотреть файл

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Web Compatibility Interventions",
"description": "Urgent post-release fixes for web compatibility.",
"version": "29.5.0",
"version": "29.6.0",
"applications": {
"gecko": {
"id": "webcompat@mozilla.org",

Просмотреть файл

@ -84,7 +84,6 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [
"injections/js/bug1722955-frontgate.com-ua-override.js",
"injections/js/bug1724764-amextravel.com-window-print.js",
"injections/js/bug1724868-news.yahoo.co.jp-ua-override.js",
"injections/js/bug1727100-slack.com-ua-override.js",
"injections/js/bug1731825-office365-email-handling-prompt-autohide.js",
]