firefox-mcp/navigator-webdriver-false.patch

21 lines
623 B
Diff
Raw Permalink Normal View History

2026-11-06 12:45:22 +01:00
--- a/dom/base/Navigator.cpp
+++ b/dom/base/Navigator.cpp
@@ -2356,7 +2356,7 @@
bool isBrowserAutomationRunning = false;
marionette->GetIsBrowserAutomationRunning(&isBrowserAutomationRunning);
if (isBrowserAutomationRunning) {
- return true;
+ return false; // firefox-covert: never report automation
}
}
@@ -2365,7 +2365,7 @@
bool isBrowserAutomationRunning = false;
agent->GetIsBrowserAutomationRunning(&isBrowserAutomationRunning);
if (isBrowserAutomationRunning) {
- return true;
+ return false; // firefox-covert: never report automation
}
}
#endif