Bug 1805412 - Ship v115.0.0 of the WebCompat System Addon; r=denschub,webcompat-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D179712
This commit is contained in:
Thomas Wisniewski 2023-06-01 17:34:22 +00:00
Родитель fbc9017595
Коммит 5ce2f13048
71 изменённых файлов: 535 добавлений и 115 удалений

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

@ -356,7 +356,6 @@ const AVAILABLE_INJECTIONS = [
bug: "1724764", bug: "1724764",
contentScripts: { contentScripts: {
matches: [ matches: [
"*://*.amextravel.com/*", // 1724764
"*://*.edupage.org/*", // 1804477 and 1800118 "*://*.edupage.org/*", // 1804477 and 1800118
], ],
js: [ js: [
@ -691,20 +690,6 @@ const AVAILABLE_INJECTIONS = [
], ],
}, },
}, },
{
id: "bug1803976",
platform: "desktop",
domain: "www.youtube.com",
bug: "1803976",
contentScripts: {
matches: ["*://www.youtube.com/*"],
js: [
{
file: "injections/js/bug1803976-www.youtube.com-performance-now-precision.js",
},
],
},
},
{ {
id: "bug1448747", id: "bug1448747",
platform: "android", platform: "android",
@ -721,7 +706,6 @@ const AVAILABLE_INJECTIONS = [
"*://bathpublishing.com/*", // 100145 "*://bathpublishing.com/*", // 100145
"*://dylantalkstone.com/*", // 101356 "*://dylantalkstone.com/*", // 101356
"*://renewd.com.au/*", // 104998 "*://renewd.com.au/*", // 104998
"*://gofreeconcepts.de/*", // 105534
"*://*.lamudi.co.id/*", // 106767 "*://*.lamudi.co.id/*", // 106767
"*://*.thehawksmoor.com/*", // 107549 "*://*.thehawksmoor.com/*", // 107549
"*://weaversofireland.com/*", // 116816 "*://weaversofireland.com/*", // 116816
@ -746,7 +730,6 @@ const AVAILABLE_INJECTIONS = [
contentScripts: { contentScripts: {
matches: [ matches: [
"*://*.chatiw.com/*", // 5544 "*://*.chatiw.com/*", // 5544
"*://*.marksandspencer.com/*", // 101811
"*://*.wellcare.com/*", // 116595 "*://*.wellcare.com/*", // 116595
], ],
js: [ js: [
@ -812,20 +795,6 @@ const AVAILABLE_INJECTIONS = [
], ],
}, },
}, },
{
id: "bug1827678-85474",
platform: "desktop",
domain: "elal.com",
bug: "1827678",
contentScripts: {
matches: ["*://*.elal.com/*"],
css: [
{
file: "injections/css/bug1819678-elal.com-unsupported-banner.css",
},
],
},
},
{ {
id: "bug1827678-webc119017", id: "bug1827678-webc119017",
platform: "desktop", platform: "desktop",
@ -1012,6 +981,65 @@ const AVAILABLE_INJECTIONS = [
], ],
}, },
}, },
{
id: "bug1836157",
platform: "android",
domain: "thai-masszazs.net",
bug: "1836157",
contentScripts: {
matches: ["*://www.thai-masszazs.net/en/*"],
js: [
{
file: "injections/js/bug1836157-thai-masszazs-niceScroll-disable.js",
},
],
},
},
{
id: "bug1836103",
platform: "all",
domain: "autostar-novoross.ru",
bug: "1836103",
contentScripts: {
matches: ["*://autostar-novoross.ru/*"],
css: [
{
file: "injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css",
},
],
},
},
{
id: "bug1836105",
platform: "all",
domain: "cnn.com",
bug: "1836105",
contentScripts: {
matches: ["*://*.cnn.com/*"],
css: [
{
file: "injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css",
},
],
},
},
{
id: "bug1836177",
platform: "desktop",
domain: "clalit.co.il",
bug: "1836177",
contentScripts: {
matches: [
"*://e-services.clalit.co.il/OnlineWeb/General/InfoFullLogin.aspx*",
],
css: [
{
file: "injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css",
},
],
allFrames: true,
},
},
]; ];
module.exports = AVAILABLE_INJECTIONS; module.exports = AVAILABLE_INJECTIONS;

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

@ -474,26 +474,6 @@ const AVAILABLE_UA_OVERRIDES = [
}, },
}, },
}, },
{
/*
* Bug 1719846 - Add UA override for https://covid.cdc.gov/covid-data-tracker/
* Webcompat issue #76944 - https://webcompat.com/issues/76944
*
* The application locks out Firefox via User Agent sniffing, but in our
* tests, there appears to be no reason for this. Everything looks fine if
* we spoof as Chrome.
*/
id: "bug1719846",
platform: "all",
domain: "covid.cdc.gov",
bug: "1719846",
config: {
matches: ["*://covid.cdc.gov/covid-data-tracker/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
{ {
/* /*
* Bug 1719859 - Add UA override for saxoinvestor.fr * Bug 1719859 - Add UA override for saxoinvestor.fr
@ -1233,6 +1213,159 @@ const AVAILABLE_UA_OVERRIDES = [
}, },
}, },
}, },
{
/*
* Bug 1831441 - UA override for luna.amazon.com
*
* Games are unplayable unless a Chrome UA is used.
*/
id: "bug1831441",
platform: "all",
domain: "luna.amazon.com",
bug: "1831441",
config: {
matches: ["*://luna.amazon.com/*"],
uaTransformer: originalUA => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
{
/*
* Bug 1836109 - UA override for watch.tonton.com.my
*
* The site's content is not loaded unless a Chrome UA is used.
*/
id: "bug1836109",
platform: "all",
domain: "watch.tonton.com.my",
bug: "1836109",
config: {
matches: ["*://watch.tonton.com.my/*"],
uaTransformer: originalUA => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
{
/*
* Bug 1836112 - UA override for www.capcut.cn
*
* The site's content is not loaded unless a Chrome UA is used.
*/
id: "bug1836112",
platform: "all",
domain: "www.capcut.cn",
bug: "1836112",
config: {
matches: ["*://www.capcut.cn/editor*"],
uaTransformer: originalUA => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
{
/*
* Bug 1836116 - UA override for www.slushy.com
*
* The site's content is not loaded without a Chrome UA spoof.
*/
id: "bug1836116",
platform: "all",
domain: "www.slushy.com",
bug: "1836116",
config: {
matches: ["*://www.slushy.com/*"],
uaTransformer: originalUA => {
return originalUA + " Chrome/113.0.0.0";
},
},
},
{
/*
* Bug 1836135 - UA override for gts-pro.sdimedia.com
*
* The site's content is not loaded without a Chrome UA spoof.
*/
id: "bug1836135",
platform: "all",
domain: "gts-pro.sdimedia.com",
bug: "1836135",
config: {
matches: ["*://gts-pro.sdimedia.com/*"],
uaTransformer: originalUA => {
return originalUA.replace("Firefox/", "Fx/") + " Chrome/113.0.0.0";
},
},
},
{
/*
* Bug 1836140 - UA override for indices.iriworldwide.com
*
* The site's content is not loaded without a UA spoof.
*/
id: "bug1836140",
platform: "all",
domain: "indices.iriworldwide.com",
bug: "1836140",
config: {
matches: ["*://indices.iriworldwide.com/covid19/*"],
uaTransformer: originalUA => {
return originalUA.replace("Firefox/", "Fx/");
},
},
},
{
/*
* Bug 1836178 - UA override for atracker.pro
*
* The site's content is not loaded without a Chrome UA spoof.
*/
id: "bug1836178",
platform: "all",
domain: "atracker.pro",
bug: "1836178",
config: {
matches: ["*://atracker.pro/*"],
uaTransformer: originalUA => {
return originalUA + " Chrome/113.0.0.0";
},
},
},
{
/*
* Bug 1836181 - UA override for conference.amwell.com
*
* The site's content is not loaded unless a Chrome UA is used.
*/
id: "bug1836181",
platform: "all",
domain: "conference.amwell.com",
bug: "1836181",
config: {
matches: ["*://conference.amwell.com/*"],
uaTransformer: originalUA => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
{
/*
* Bug 1836182 - UA override for www.flatsatshadowglen.com
*
* The site's content is not loaded without a Chrome UA spoof.
*/
id: "bug1836182",
platform: "all",
domain: "www.flatsatshadowglen.com",
bug: "1836182",
config: {
matches: ["*://www.flatsatshadowglen.com/*"],
uaTransformer: originalUA => {
return originalUA + " Chrome/113.0.0.0";
},
},
},
]; ];
module.exports = AVAILABLE_UA_OVERRIDES; module.exports = AVAILABLE_UA_OVERRIDES;

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#css-injection.red { #css-injection.red {
background-color: #0f0; background-color: #0f0;
} }

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* developer.apple.com - content of the page is shifted to the left * developer.apple.com - content of the page is shifted to the left
* Bug #1570328 - https://bugzilla.mozilla.org/show_bug.cgi?id=1570328 * Bug #1570328 - https://bugzilla.mozilla.org/show_bug.cgi?id=1570328

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* apply.lloydsbank.co.uk - radio buttons are misplaced * apply.lloydsbank.co.uk - radio buttons are misplaced
* Bug #1575000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1575000 * Bug #1575000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1575000

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* Bug 1605611 - Cannot change Departure/arrival dates in Google Maps on Android * Bug 1605611 - Cannot change Departure/arrival dates in Google Maps on Android
* *

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* directv.com.co - Browser is not supported message * directv.com.co - Browser is not supported message
* Bug #1610344 - https://bugzilla.mozilla.org/show_bug.cgi?id=1610344 * Bug #1610344 - https://bugzilla.mozilla.org/show_bug.cgi?id=1610344

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* missingmail.usps.com - Unable to mark the check-boxes from "Disclaimer and * missingmail.usps.com - Unable to mark the check-boxes from "Disclaimer and
* Terms and Conditions" section * Terms and Conditions" section

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* teletrader.com - content is shifted down and right * teletrader.com - content is shifted down and right
* Bug #1651917 - https://bugzilla.mozilla.org/show_bug.cgi?id=1651917 * Bug #1651917 - https://bugzilla.mozilla.org/show_bug.cgi?id=1651917

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* livescience.com - a scrollbar covering navigation menu * livescience.com - a scrollbar covering navigation menu
* Bug #1653075 - https://bugzilla.mozilla.org/show_bug.cgi?id=1653075 * Bug #1653075 - https://bugzilla.mozilla.org/show_bug.cgi?id=1653075

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* preev.com - typed numbers are not fully visible * preev.com - typed numbers are not fully visible
* Bug #1654877 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654877 * Bug #1654877 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654877

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* reactine.ca - Unsupported browser message * reactine.ca - Unsupported browser message
* Bug #1654907 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654907 * Bug #1654907 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654907

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* m.myvidster.com - Content is not shown * m.myvidster.com - Content is not shown
* Bug #1694470 - https://bugzilla.mozilla.org/show_bug.cgi?id=1694470 * Bug #1694470 - https://bugzilla.mozilla.org/show_bug.cgi?id=1694470

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* www.office.com - There is an overscroll effect on Excel sheets which is * www.office.com - There is an overscroll effect on Excel sheets which is
* not a very pleasant user experience. This invention disables it. * not a very pleasant user experience. This invention disables it.

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* buskocchi.desuca.co.jp - Ensure that the map has a height so it is visible. * buskocchi.desuca.co.jp - Ensure that the map has a height so it is visible.
* Bug #1712833 - https://bugzilla.mozilla.org/show_bug.cgi?id=1712833 * Bug #1712833 - https://bugzilla.mozilla.org/show_bug.cgi?id=1712833

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* patient.alphalabs.ca - "Continue" button is overlapped by displaced page footer * patient.alphalabs.ca - "Continue" button is overlapped by displaced page footer
* Bug #1741234 - https://bugzilla.mozilla.org/show_bug.cgi?id=1741234 * Bug #1741234 - https://bugzilla.mozilla.org/show_bug.cgi?id=1741234

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* veniceincoming.com - site is not usable * veniceincoming.com - site is not usable
* Bug #1765947 - https://bugzilla.mozilla.org/show_bug.cgi?id=1765947 * Bug #1765947 - https://bugzilla.mozilla.org/show_bug.cgi?id=1765947

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* coldwellbankerhomes.com - Property images are displayed squeezed * coldwellbankerhomes.com - Property images are displayed squeezed
* Bug #1770962 - https://bugzilla.mozilla.org/show_bug.cgi?id=1770962 * Bug #1770962 - https://bugzilla.mozilla.org/show_bug.cgi?id=1770962

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* rainews.it - Image slideshow is not shown * rainews.it - Image slideshow is not shown
* Bug #1774490 - https://bugzilla.mozilla.org/show_bug.cgi?id=1774490 * Bug #1774490 - https://bugzilla.mozilla.org/show_bug.cgi?id=1774490

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* aveeno.com and acuvue.com - Unsupported message is displayed * aveeno.com and acuvue.com - Unsupported message is displayed
* *

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* aptsovation.com - Unsupported message is displayed on sites based on Entrata platform * aptsovation.com - Unsupported message is displayed on sites based on Entrata platform
* Bug #1784199 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784199 * Bug #1784199 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784199

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* www.vivobarefoot.com - product filters cannot be interacted-with * www.vivobarefoot.com - product filters cannot be interacted-with
* Bug #1799994 - https://bugzilla.mozilla.org/show_bug.cgi?id=1799994 * Bug #1799994 - https://bugzilla.mozilla.org/show_bug.cgi?id=1799994

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* www.honda.co.uk- "choose dealer" buttons cannot be interacted-with * www.honda.co.uk- "choose dealer" buttons cannot be interacted-with
* Bug #1800000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1800000 * Bug #1800000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1800000

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

@ -1,11 +0,0 @@
/**
* www.elal.com - Firefox is an unsupported browser
* WebCompat issue #85474 - https://github.com/webcompat/web-bugs/issues/85474
*
* As everything seems to work just fine, this intervention simply hides the
* banner.
*/
.pnlOldBrowser {
display: none !important;
}

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* nppes.cms.hhs.gov - Firefox is an unsupported browser * nppes.cms.hhs.gov - Firefox is an unsupported browser
* WebCompat issue #119017 - https://github.com/webcompat/web-bugs/issues/119017 * WebCompat issue #119017 - https://github.com/webcompat/web-bugs/issues/119017

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* tomshardware.com - a scrollbar covering navigation menu * tomshardware.com - a scrollbar covering navigation menu
* Bug #1829949 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829949 * Bug #1829949 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829949

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* eventer.co.il - a button is covering entire page * eventer.co.il - a button is covering entire page
* Bug #1829952 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829952 * Bug #1829952 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829952

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* my.babbel.com - "Next" button is not visible * my.babbel.com - "Next" button is not visible
* Bug #1830747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830747 * Bug #1830747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830747

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* afisha.ru - Slider not working * afisha.ru - Slider not working
* Bug #1830752 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830752 * Bug #1830752 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830752

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* 91mobiles.com - Text overlapping * 91mobiles.com - Text overlapping
* Bug #1830761 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830761 * Bug #1830761 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830761

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* copyleaks.com - Unsupported message * copyleaks.com - Unsupported message
* Bug #1830796 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830796 * Bug #1830796 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830796

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* interceramic.com - Unsupported message * interceramic.com - Unsupported message
* Bug #1830810 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830810 * Bug #1830810 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830810

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** /**
* onstove.com - Unsupported message * onstove.com - Unsupported message
* Bug #1830813 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830813 * Bug #1830813 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830813

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

@ -0,0 +1,13 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* autostar-novoross.ru - Map is not as tall as expected
* Bug #1836103 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836103
* WebCompat issue #80763 - https://github.com/webcompat/web-bugs/issues/80763
*/
.t396 .tn-atom {
height: 100%;
}

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

@ -0,0 +1,19 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* cnn.com - Printing in portrait mode results in blank pages
* Bug #1836105 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836105
*
* Disable some of CNN's giant styles for height, top and margin-bottom,
* since they break print layout in Firefox (as per bug 1830307)
*/
@media print {
.header__wrapper-outer {
height: initial !important;
top: initial !important;
margin-bottom: initial !important;
}
}

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

@ -0,0 +1,13 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* clalit.co.il - Hide number input spinners as page intends
* Bug #1836177 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836177
* WebCompat issue #109468 - https://github.com/webcompat/web-bugs/issues/109468
*/
input[type="number"] {
-moz-appearance: textfield;
}

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/* globals exportFunction */ /* globals exportFunction */

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/* /*

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,35 +0,0 @@
"use strict";
/**
* Bug 1803976 - When attempting to go back on youtube.com, the content remains the same
*
* If consecutive session history entries had history.state.entryTime set to same value,
* back button doesn't work as expected. The entryTime value is coming from performance.now()
* and modifying its return value slightly to make sure two close consecutive calls don't
* get the same result helped with resolving the issue.
*/
/* globals exportFunction */
console.info(
"performance.now precision has been modified for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1756970 for details."
);
const origPerf = performance.wrappedJSObject;
const origNow = origPerf.now;
let counter = 0;
let previousVal = 0;
Object.defineProperty(window.performance.wrappedJSObject, "now", {
value: exportFunction(function () {
let originalVal = origNow.call(origPerf);
if (originalVal === previousVal) {
originalVal += 0.00000003 * ++counter;
} else {
previousVal = originalVal;
counter = 0;
}
return originalVal;
}, window),
});

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict"; "use strict";
/** /**

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

@ -0,0 +1,23 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* Bug 1836157 - Shim navigator.platform on www.thai-massaszs.net/en/
*
* This page adds niceScroll on Android, which breaks scrolling and
* zooming on Firefox. Adding ` Mac` to `navigator.platform` makes
* the page avoid adding niceScroll entirely, unbreaking the page.
*/
var plat = navigator.platform;
if (!plat.includes("Mac")) {
console.info(
"The navigator.platform property has been shimmed to include 'Mac' for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1836157 for details."
);
Object.defineProperty(navigator.__proto__.wrappedJSObject, "platform", {
value: plat + " Mac",
writable: true,
});
}

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

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

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

@ -63,7 +63,6 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["css"] += [
"injections/css/bug1784199-entrata-platform-unsupported.css", "injections/css/bug1784199-entrata-platform-unsupported.css",
"injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css", "injections/css/bug1799994-www.vivobarefoot.com-product-filters-fix.css",
"injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css", "injections/css/bug1800000-www.honda.co.uk-choose-dealer-button-fix.css",
"injections/css/bug1819678-elal.com-unsupported-banner.css",
"injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css", "injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css",
"injections/css/bug1829949-tomshardware.com-scrollbar-width.css", "injections/css/bug1829949-tomshardware.com-scrollbar-width.css",
"injections/css/bug1829952-eventer.co.il-button-height.css", "injections/css/bug1829952-eventer.co.il-button-height.css",
@ -73,6 +72,9 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["css"] += [
"injections/css/bug1830796-copyleaks.com-hide-unsupported.css", "injections/css/bug1830796-copyleaks.com-hide-unsupported.css",
"injections/css/bug1830810-interceramic.com-hide-unsupported.css", "injections/css/bug1830810-interceramic.com-hide-unsupported.css",
"injections/css/bug1830813-page.onstove.com-hide-unsupported.css", "injections/css/bug1830813-page.onstove.com-hide-unsupported.css",
"injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css",
"injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css",
"injections/css/bug1836177-clalit.co.il-hide-number-input-spinners.css",
] ]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [
@ -95,7 +97,6 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [
"injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js", "injections/js/bug1795490-www.china-airlines.com-undisable-date-fields-on-mobile.js",
"injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js", "injections/js/bug1799968-www.samsung.com-appVersion-linux-fix.js",
"injections/js/bug1799980-healow.com-infinite-loop-fix.js", "injections/js/bug1799980-healow.com-infinite-loop-fix.js",
"injections/js/bug1803976-www.youtube.com-performance-now-precision.js",
"injections/js/bug1818818-fastclick-legacy-shim.js", "injections/js/bug1818818-fastclick-legacy-shim.js",
"injections/js/bug1819450-cmbchina.com-ua-change.js", "injections/js/bug1819450-cmbchina.com-ua-change.js",
"injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js", "injections/js/bug1819476-axisbank.com-webkitSpeechRecognition-shim.js",
@ -103,6 +104,7 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [
"injections/js/bug1819678-free4talk.com-window-chrome-shim.js", "injections/js/bug1819678-free4talk.com-window-chrome-shim.js",
"injections/js/bug1830776-blueshieldca.com-unsupported.js", "injections/js/bug1830776-blueshieldca.com-unsupported.js",
"injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js", "injections/js/bug1831007-nintendo-window-OnetrustActiveGroups.js",
"injections/js/bug1836157-thai-masszazs-niceScroll-disable.js",
] ]
FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["shims"] += [ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["shims"] += [

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

@ -8,19 +8,19 @@ add_task(async function test_about_compat_loads_properly() {
}); });
await SpecialPowers.spawn(tab.linkedBrowser, [], async function () { await SpecialPowers.spawn(tab.linkedBrowser, [], async function () {
await ContentTaskUtils.waitForCondition( ok(
() => content.document.querySelector("#overrides tr[data-id]"), content.document.querySelectorAll("#overrides tr[data-id]").length > 1,
"UA overrides are listed" "UA overrides are listed"
); );
await ContentTaskUtils.waitForCondition( ok(
() => content.document.querySelector("#interventions tr[data-id]"), content.document.querySelectorAll("#interventions tr[data-id]").length >
1,
"interventions are listed" "interventions are listed"
); );
await ContentTaskUtils.waitForCondition( ok(
() => content.document.querySelector("#smartblock tr[data-id]"), content.document.querySelectorAll("#smartblock tr[data-id]").length > 1,
"SmartBlock shims are listed" "SmartBlock shims are listed"
); );
ok(true, "Interventions are listed");
}); });
await BrowserTestUtils.removeTab(tab); await BrowserTestUtils.removeTab(tab);

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

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf8"> <meta charset="utf8" />
<script> <script>
window.shimPromise = new Promise(resolve => { window.shimPromise = new Promise(resolve => {
window.shimPromiseResolve = resolve; window.shimPromiseResolve = resolve;
@ -12,6 +12,8 @@
</script> </script>
</head> </head>
<body> <body>
<iframe src="http://example.com/browser/browser/extensions/webcompat/tests/browser/shims_test.html"></iframe> <iframe
src="http://example.com/browser/browser/extensions/webcompat/tests/browser/shims_test.html"
></iframe>
</body> </body>
</html> </html>

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

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf8"> <meta charset="utf8" />
<script> <script>
window.shimPromise = new Promise(resolve => { window.shimPromise = new Promise(resolve => {
window.shimPromiseResolve = resolve; window.shimPromiseResolve = resolve;
@ -10,7 +10,10 @@
window.optInPromiseResolve = resolve; window.optInPromiseResolve = resolve;
}); });
</script> </script>
<script onerror="window.shimPromiseResolve('error')" src="shims_test.js"></script> <script
onerror="window.shimPromiseResolve('error')"
src="shims_test.js"
></script>
</head> </head>
<body> <body>
<div id="shims"></div> <div id="shims"></div>

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

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf8"> <meta charset="utf8" />
<script> <script>
window.shimPromise = new Promise(resolve => { window.shimPromise = new Promise(resolve => {
window.shimPromiseResolve = resolve; window.shimPromiseResolve = resolve;
@ -10,7 +10,10 @@
window.optInPromiseResolve = resolve; window.optInPromiseResolve = resolve;
}); });
</script> </script>
<script onerror="window.shimPromiseResolve('error')" src="shims_test_2.js"></script> <script
onerror="window.shimPromiseResolve('error')"
src="shims_test_2.js"
></script>
</head> </head>
<body> <body>
<div id="shims"></div> <div id="shims"></div>

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

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf8"> <meta charset="utf8" />
<script> <script>
window.shimPromise = new Promise(resolve => { window.shimPromise = new Promise(resolve => {
window.shimPromiseResolve = resolve; window.shimPromiseResolve = resolve;
@ -10,7 +10,10 @@
window.optInPromiseResolve = resolve; window.optInPromiseResolve = resolve;
}); });
</script> </script>
<script onerror="window.shimPromiseResolve('error')" src="shims_test_3.js"></script> <script
onerror="window.shimPromiseResolve('error')"
src="shims_test_3.js"
></script>
</head> </head>
<body> <body>
<div id="shims"></div> <div id="shims"></div>