Backed out changeset 8ddf44b47ed6 (bug 1835675) for causing failures on browser_aboutcompat.js CLOSED TREE

This commit is contained in:
Norisz Fay 2023-05-30 19:29:06 +03:00
Родитель 3f552f8ef8
Коммит abebba39c9
3 изменённых файлов: 2 добавлений и 30 удалений

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

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Web Compatibility Interventions",
"description": "Urgent post-release fixes for web compatibility.",
"version": "114.0.1",
"version": "114.0.0",
"browser_specific_settings": {
"gecko": {
"id": "webcompat@mozilla.org",
@ -61,7 +61,7 @@
}
},
"content_security_policy": "script-src 'self' 'sha256-PeZc2H1vv7M8NXqlFyNbN4y4oM6wXmYEbf73m+Aqpak='; default-src 'self'; base-uri moz-extension://*; object-src 'none'",
"content_security_policy": "script-src 'self' 'sha256-MmZkN2QaIHhfRWPZ8TVRjijTn5Ci1iEabtTEWrt9CCo='; default-src 'self'; base-uri moz-extension://*; object-src 'none'",
"permissions": [
"mozillaAddons",

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

@ -9,7 +9,6 @@ support-files =
shims_test_2.html
shims_test_3.html
[browser_aboutcompat.js]
[browser_shims.js]
https_first_disabled = true
skip-if = verify

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

@ -1,27 +0,0 @@
"use strict";
add_task(async function test_about_compat_loads_properly() {
const tab = await BrowserTestUtils.openNewForegroundTab({
gBrowser,
opening: "about:compat",
waitForLoad: true,
});
await SpecialPowers.spawn(tab.linkedBrowser, [], async function () {
ok(
content.document.querySelectorAll("#overrides tr[data-id]").length > 1,
"UA overrides are listed"
);
ok(
content.document.querySelectorAll("#interventions tr[data-id]").length >
1,
"interventions are listed"
);
ok(
content.document.querySelectorAll("#smartblock tr[data-id]").length > 1,
"SmartBlock shims are listed"
);
});
await BrowserTestUtils.removeTab(tab);
});