Bug 1881922 - remove Mutation Event disabling webcompat intervention for helpdeskgeek.com; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D241919
This commit is contained in:
@@ -1939,23 +1939,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"1881922": {
|
||||
"label": "helpdeskgeek.com",
|
||||
"bugs": {
|
||||
"1881922": {
|
||||
"issue": "slow-performance",
|
||||
"matches": ["*://helpdeskgeek.com/*"]
|
||||
}
|
||||
},
|
||||
"interventions": [
|
||||
{
|
||||
"platforms": ["all"],
|
||||
"content_scripts": {
|
||||
"js": ["bug1881922-disable-legacy-mutation-events.js"]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"1884779": {
|
||||
"label": "memurlar.net",
|
||||
"bugs": {
|
||||
@@ -2566,7 +2549,7 @@
|
||||
{
|
||||
"platforms": ["all"],
|
||||
"content_scripts": {
|
||||
"js": ["bug1881922-disable-legacy-mutation-events.js"]
|
||||
"js": ["bug1901780-disable-legacy-mutation-events.js"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -5,17 +5,13 @@
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Bugs 1881922, 1901780 - Disable legacy DOM Mutation Events to prevent performance issues.
|
||||
* Bugs 1901780 - Disable legacy DOM Mutation Events to prevent performance issues.
|
||||
*/
|
||||
|
||||
/* globals exportFunction */
|
||||
|
||||
let bug = "1881922";
|
||||
if (location.origin.includes("vanbreda")) {
|
||||
bug = "1901780";
|
||||
}
|
||||
console.info(
|
||||
`DOM Mutation Events have been disabled to prevent performance issues. See https://bugzilla.mozilla.org/show_bug.cgi?id=${bug} for details.`
|
||||
"DOM Mutation Events have been disabled to prevent performance issues. See https://bugzilla.mozilla.org/show_bug.cgi?id=1901780 for details."
|
||||
);
|
||||
|
||||
(function disableMutationEvents() {
|
||||
@@ -122,13 +122,13 @@ FINAL_TARGET_FILES.features["webcompat@mozilla.org"]["injections"]["js"] += [
|
||||
"injections/js/bug1849058-nicochannel.jp-picture-in-picture-shim.js",
|
||||
"injections/js/bug1855014-eksiseyler.com.js",
|
||||
"injections/js/bug1859617-installtrigger-removal-shim.js",
|
||||
"injections/js/bug1881922-disable-legacy-mutation-events.js",
|
||||
"injections/js/bug1889326-office365-email-handling-prompt-autohide.js",
|
||||
"injections/js/bug1889505-bankmandiri.co.id-window.chrome.js",
|
||||
"injections/js/bug1897120-turnjs-zoom-fix.js",
|
||||
"injections/js/bug1898946-transcrib.io-chrome-shim.js",
|
||||
"injections/js/bug1898952-digits.t-mobile.com.js",
|
||||
"injections/js/bug1899937-plus.nhk.jp-request-picture-in-picture.js",
|
||||
"injections/js/bug1901780-disable-legacy-mutation-events.js",
|
||||
"injections/js/bug1902406-sp.hi.co.kr-window-chrome-shim.js",
|
||||
"injections/js/bug1905069-one.geekie.com.br-chrome-shims.js",
|
||||
"injections/js/bug1923286-bing.com-image-click-fix.js",
|
||||
|
||||
Reference in New Issue
Block a user