зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 8ddf44b47ed6 (bug 1835675) for causing failures on browser_aboutcompat.js CLOSED TREE
This commit is contained in:
Родитель
3f552f8ef8
Коммит
abebba39c9
|
@ -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": "114.0.0",
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "webcompat@mozilla.org",
|
"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": [
|
"permissions": [
|
||||||
"mozillaAddons",
|
"mozillaAddons",
|
||||||
|
|
|
@ -9,7 +9,6 @@ support-files =
|
||||||
shims_test_2.html
|
shims_test_2.html
|
||||||
shims_test_3.html
|
shims_test_3.html
|
||||||
|
|
||||||
[browser_aboutcompat.js]
|
|
||||||
[browser_shims.js]
|
[browser_shims.js]
|
||||||
https_first_disabled = true
|
https_first_disabled = true
|
||||||
skip-if = verify
|
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);
|
|
||||||
});
|
|
Загрузка…
Ссылка в новой задаче