tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 473ac3e4e3c117c075a5187f7fc8131ca0fbd02e
parent d63d751573ce7c887fff755b65dcb645accfce30
Author: Nicolas Chevobbe <nchevobbe@mozilla.com>
Date:   Tue, 25 Nov 2025 21:43:01 +0000

Bug 2002248 - [devtools] Add 0.001 rate in PLAYBACK_RATES. r=devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D273991

Diffstat:
Mdevtools/client/inspector/animation/components/PlaybackRateSelector.js | 2+-
Mdevtools/client/inspector/animation/test/browser_animation_playback-rate-selector.js | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devtools/client/inspector/animation/components/PlaybackRateSelector.js b/devtools/client/inspector/animation/components/PlaybackRateSelector.js @@ -17,7 +17,7 @@ const { getFormatStr, } = require("resource://devtools/client/inspector/animation/utils/l10n.js"); -const PLAYBACK_RATES = [0.1, 0.25, 0.5, 1, 2, 5, 10]; +const PLAYBACK_RATES = [0.01, 0.1, 0.25, 0.5, 1, 2, 5, 10]; class PlaybackRateSelector extends PureComponent { static get propTypes() { diff --git a/devtools/client/inspector/animation/test/browser_animation_playback-rate-selector.js b/devtools/client/inspector/animation/test/browser_animation_playback-rate-selector.js @@ -21,7 +21,7 @@ add_task(async function () { info( "Checking playback rate existence which includes custom rate of animations" ); - const expectedPlaybackRates = [0.1, 0.25, 0.5, 1, 1.5, 2, 5, 10]; + const expectedPlaybackRates = [0.01, 0.1, 0.25, 0.5, 1, 1.5, 2, 5, 10]; await assertPlaybackRateOptions(selectEl, expectedPlaybackRates); info("Checking selected playback rate");