diff --git a/devtools/client/debugger/src/client/firefox/commands.js b/devtools/client/debugger/src/client/firefox/commands.js index d23b2ba693ff..66b2430814c8 100644 --- a/devtools/client/debugger/src/client/firefox/commands.js +++ b/devtools/client/debugger/src/client/firefox/commands.js @@ -334,11 +334,7 @@ async function setSkipPausing(shouldSkip) { } async function setEventListenerBreakpoints(ids) { - // @backward-compat { version 94 } The `event-breakpoints` trait check is no longer needed, but - // keep the check for target watcher support to fallback for unsupported targets (e.g webextensions) - const hasWatcherSupport = commands.targetCommand.hasTargetWatcherSupport( - "event-breakpoints" - ); + const hasWatcherSupport = commands.targetCommand.hasTargetWatcherSupport(); if (!hasWatcherSupport) { return forEachThread(thread => thread.setActiveEventBreakpoints(ids)); } diff --git a/devtools/server/actors/watcher.js b/devtools/server/actors/watcher.js index a0c473a206c1..77dc7eea44d9 100644 --- a/devtools/server/actors/watcher.js +++ b/devtools/server/actors/watcher.js @@ -238,9 +238,6 @@ exports.WatcherActor = protocol.ActorClassWithSpec(watcherSpec, { [Resources.TYPES.SERVER_SENT_EVENT]: shouldEnableAllWatchers, [Resources.TYPES.WEBSOCKET]: shouldEnableAllWatchers, }, - - // @backward-compat { version 94 } Full support for event breakpoints via the watcher actor - "event-breakpoints": true, }, }; },