Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit efde7db

Browse files
committed
Bug 1925823 - Stop disabling screenshots component in mochitest r=urlbar-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D226241
1 parent dcafa05 commit efde7db

File tree

12 files changed

+5
-14
lines changed

12 files changed

+5
-14
lines changed

browser/base/content/test/contextMenu/browser_contextmenu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ add_setup(async function () {
7272
await SpecialPowers.pushPrefEnv({
7373
set: [
7474
["browser.search.separatePrivateDefault.ui.enabled", true],
75-
["extensions.screenshots.disabled", false],
7675
["privacy.query_stripping.strip_on_share.canDisable", false],
7776
],
7877
});

browser/base/content/test/contextMenu/browser_contextmenu_input.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ add_task(
298298
null,
299299
"---",
300300
null,
301+
"context-take-screenshot",
302+
true,
303+
"---",
304+
null,
301305
"context-viewsource",
302306
true,
303307
],

browser/base/content/test/performance/browser.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ prefs = [
1717
# For perfomance tests do not enable the remote control cue, which gets set
1818
# when Marionette is enabled, but users normally don't see.
1919
"browser.chrome.disableRemoteControlCueForTests=true",
20-
# The Screenshots extension is disabled by default in Mochitests. We re-enable
21-
# it here, since it's a more realistic configuration.
22-
"extensions.screenshots.disabled=false",
2320
# Need to keep the revamped sidebar off until Bug 1905212 is done
2421
"sidebar.revamp=false",
2522
]

browser/base/content/test/performance/io/browser.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ skip-if = [
1414
prefs = [
1515
"browser.startup.record=true",
1616
"gfx.canvas.willReadFrequently.enable=true",
17-
"extensions.screenshots.disabled=false", # The Screenshots extension is disabled by default in Mochitests. We re-enable it here, since it's a more realistic configuration.
1817
]
1918
environment = [
2019
"GNOME_ACCESSIBILITY=0",

browser/components/customizableui/test/browser.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ skip-if = ["(verify && debug && (os == 'linux' || os == 'mac'))"]
341341
["browser_reset_dom_events.js"]
342342

343343
["browser_screenshot_button_disabled.js"]
344+
prefs = ["extensions.screenshots.disabled=true"]
344345

345346
["browser_searchbar_removal.js"]
346347

browser/components/enterprisepolicies/tests/browser/disable_fxscreenshots/browser.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[DEFAULT]
22
prefs = [
33
"browser.policies.alternatePath='<test-root>/browser/components/enterprisepolicies/tests/browser/disable_fxscreenshots/config_disable_fxscreenshots.json'",
4-
"extensions.screenshots.disabled=false",
54
]
65
support-files = ["config_disable_fxscreenshots.json"]
76

browser/components/screenshots/tests/browser/browser.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ support-files = [
1414
]
1515

1616
prefs = [
17-
"extensions.screenshots.disabled=false",
1817
"screenshots.browser.component.enabled=true",
1918
"sidebar.revamp=false",
2019
]

browser/components/screenshots/tests/browser/browserSidebarRevamp.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ support-files = [
1414
]
1515

1616
prefs = [
17-
"extensions.screenshots.disabled=false",
1817
"screenshots.browser.component.enabled=true",
1918
"sidebar.revamp=true",
2019
]

browser/components/urlbar/tests/browser/browser.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ skip-if = [
1212
prefs = [
1313
"browser.bookmarks.testing.skipDefaultBookmarksImport=true",
1414
"browser.urlbar.trending.featureGate=false",
15-
"extensions.screenshots.disabled=false",
1615
"screenshots.browser.component.enabled=true",
1716
"sidebar.revamp=false",
1817
]

browser/components/urlbar/tests/browser/browserSidebarRevamp.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ skip-if = [
1313
prefs = [
1414
"browser.bookmarks.testing.skipDefaultBookmarksImport=true",
1515
"browser.urlbar.trending.featureGate=false",
16-
"extensions.screenshots.disabled=false",
1716
"screenshots.browser.component.enabled=true",
1817
"sidebar.revamp=true",
1918
]

0 commit comments

Comments
 (0)