commit 22e9e38b1ca3de23a8532396687df81991f75c99
parent ce519911be693c53b3527c48b3161f5c7b3b54fe
Author: kchelilim <98861797+KipChelilim@users.noreply.github.com>
Date: Mon, 1 Dec 2025 20:39:53 +0000
Bug 1956817 - Enable clear search button and reveal password preferences when launching storybook r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D274180
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/browser/components/storybook/docs/README.storybook.stories.md b/browser/components/storybook/docs/README.storybook.stories.md
@@ -40,7 +40,8 @@ site in a local build of Firefox, just run:
This single command will first install any missing dependencies then start the
local Storybook server. It will also start your local browser and point it to
`http://localhost:5703` while enabling certain preferences to ensure components
-display as expected (specifically `svg.context-properties.content.enabled`).
+display as expected (specifically `svg.context-properties.content.enabled`,
+`layout.forms.input-type-search.enabled`, and `layout.forms.reveal-password-button.enabled`).
It's necessary to use your local build to test in Storybook since `chrome://`
URLs are currently being pulled from the running browser, so any changes to
diff --git a/browser/components/storybook/mach_commands.py b/browser/components/storybook/mach_commands.py
@@ -65,6 +65,8 @@ def storybook_launch(command_context):
argv=["http://localhost:5703"],
setpref=[
"svg.context-properties.content.enabled=true",
+ "layout.forms.input-type-search.enabled=true",
+ "layout.forms.reveal-password-button.enabled=true",
],
)