summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/src/actions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /devtools/client/netmonitor/src/actions
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/netmonitor/src/actions')
-rw-r--r--devtools/client/netmonitor/src/actions/http-custom-request.js2
-rw-r--r--devtools/client/netmonitor/src/actions/request-blocking.js4
-rw-r--r--devtools/client/netmonitor/src/actions/search.js10
3 files changed, 8 insertions, 8 deletions
diff --git a/devtools/client/netmonitor/src/actions/http-custom-request.js b/devtools/client/netmonitor/src/actions/http-custom-request.js
index e045107410..7b2da3b403 100644
--- a/devtools/client/netmonitor/src/actions/http-custom-request.js
+++ b/devtools/client/netmonitor/src/actions/http-custom-request.js
@@ -34,7 +34,7 @@ const {
* @returns {Function}
*/
function openHTTPCustomRequest(isOpen) {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
dispatch({ type: OPEN_ACTION_BAR, open: isOpen });
dispatch({
diff --git a/devtools/client/netmonitor/src/actions/request-blocking.js b/devtools/client/netmonitor/src/actions/request-blocking.js
index 502999c79f..ab2a1430a9 100644
--- a/devtools/client/netmonitor/src/actions/request-blocking.js
+++ b/devtools/client/netmonitor/src/actions/request-blocking.js
@@ -114,7 +114,7 @@ function closeRequestBlocking() {
}
function openRequestBlockingAndAddUrl(url) {
- return async ({ dispatch, getState }) => {
+ return async ({ dispatch }) => {
const showBlockingPanel = Services.prefs.getBoolPref(
"devtools.netmonitor.features.requestBlocking"
);
@@ -127,7 +127,7 @@ function openRequestBlockingAndAddUrl(url) {
}
function openRequestBlockingAndDisableUrls(url) {
- return async ({ dispatch, getState }) => {
+ return async ({ dispatch }) => {
const showBlockingPanel = Services.prefs.getBoolPref(
"devtools.netmonitor.features.requestBlocking"
);
diff --git a/devtools/client/netmonitor/src/actions/search.js b/devtools/client/netmonitor/src/actions/search.js
index 97b123d361..647164cc11 100644
--- a/devtools/client/netmonitor/src/actions/search.js
+++ b/devtools/client/netmonitor/src/actions/search.js
@@ -176,7 +176,7 @@ function clearSearchResults() {
* @returns {Function}
*/
function clearSearchResultAndCancel() {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
dispatch(stopOngoingSearch());
dispatch(clearSearchResults());
};
@@ -196,7 +196,7 @@ function updateSearchStatus(status) {
* Close the entire search panel.
*/
function closeSearch() {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
dispatch(stopOngoingSearch());
dispatch({ type: OPEN_ACTION_BAR, open: false });
};
@@ -207,7 +207,7 @@ function closeSearch() {
* @returns {Function}
*/
function openSearch() {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
dispatch({ type: OPEN_ACTION_BAR, open: true });
dispatch({
@@ -222,7 +222,7 @@ function openSearch() {
* @returns {Function}
*/
function toggleCaseSensitiveSearch() {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
dispatch({ type: TOGGLE_SEARCH_CASE_SENSITIVE_SEARCH });
};
}
@@ -280,7 +280,7 @@ function stopOngoingSearch() {
* clicked search result.
*/
function navigate(searchResult) {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
// Store target search result in Search reducer. It's used
// for search result navigation within the side panels.
dispatch(setTargetSearchResult(searchResult));