Bug 1702011 - Ship v22.0.0 of webcompat system addon r=webcompat-reviewers,twisniewski

Differential Revision: https://phabricator.services.mozilla.com/D112297
This commit is contained in:
Ksenia Berezina 2021-04-15 23:35:27 +00:00
parent 49a6ab5f88
commit 7ef318fa51
6 changed files with 66 additions and 30 deletions

View File

@ -404,20 +404,6 @@ const AVAILABLE_INJECTIONS = [
],
},
},
{
id: "bug1690091",
platform: "desktop",
domain: "binance.com",
bug: "1690091",
contentScripts: {
matches: ["*://*.binance.com/*"],
css: [
{
file: "injections/css/bug1690091-binance.com-page-overflow.css",
},
],
},
},
{
id: "bug1694470",
platform: "android",
@ -432,6 +418,20 @@ const AVAILABLE_INJECTIONS = [
],
},
},
{
id: "bug1704653",
platform: "all",
domain: "tsky.in",
bug: "1704653",
contentScripts: {
matches: ["*://tsky.in/*"],
css: [
{
file: "injections/css/bug1704653-tsky.in-clear-float.css",
},
],
},
},
];
module.exports = AVAILABLE_INJECTIONS;

View File

@ -638,6 +638,44 @@ const AVAILABLE_UA_OVERRIDES = [
},
},
},
{
/*
* Bug 1704663 - Add UA override for automotivesuperstore.com.au
* Webcompat issue #65664 - https://webcompat.com/issues/65664
*
* Page jumps back to top after scrolling down due to incorrect
* UA detection
*/
id: "bug1704663",
platform: "android",
domain: "automotivesuperstore.com.au",
bug: "1704663",
config: {
matches: ["*://automotivesuperstore.com.au/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
{
/*
* Bug 1704673 - Add UA override for app.xiaomi.com
* Webcompat issue #66163 - https://webcompat.com/issues/66163
*
* The page isnt redirecting properly error message received.
* Spoofing as Chrome makes the page load
*/
id: "bug1704673",
platform: "android",
domain: "app.xiaomi.com",
bug: "1704673",
config: {
matches: ["*://app.xiaomi.com/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
];
const UAHelpers = {

View File

@ -1,14 +0,0 @@
/**
* binance.com - Unable to scroll the page
* Bug #1690091 - https://bugzilla.mozilla.org/show_bug.cgi?id=1690091
* WebCompat issue #66422 - https://webcompat.com/issues/66422
*
* binance.com is using Firefox-only code to add a `overflow: clip;` to the
* html element. We don't know why just yet, but this prevents users from
* scrolling the page.
* This intervention enables users to scroll.
*/
html {
overflow-y: scroll;
}

View File

@ -0,0 +1,12 @@
/**
* tsky.in - Content of the form is shifted to the right
* Bug #1704653 - https://bugzilla.mozilla.org/show_bug.cgi?id=1704653
* WebCompat issue #61521 - https://webcompat.com/issues/61521
*
* The form is shifted off screen due to combination of negative
* margins and float, which is https://bugzilla.mozilla.org/show_bug.cgi?id=1400958
* Clearing the float fixes the issue
*/
.modal-body .InfoMsg + div {
clear: both;
}

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Web Compatibility Interventions",
"description": "Urgent post-release fixes for web compatibility.",
"version": "21.5.0",
"version": "22.0.0",
"applications": {
"gecko": {

View File

@ -58,9 +58,9 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["css"] += [
"injections/css/bug1654907-reactine.ca-hide-unsupported.css",
"injections/css/bug1655049-dev.to-unclickable-button-fix.css",
"injections/css/bug1666771-zilow-map-overdraw.css",
"injections/css/bug1690091-binance.com-page-overflow.css",
"injections/css/bug1690158-slack.com-webkit-scrollbar.css",
"injections/css/bug1694470-myvidster.com-content-not-shown.css",
"injections/css/bug1704653-tsky.in-clear-float.css",
]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [