summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/tests/unit/test_match_javascript.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/urlbar/tests/unit/test_match_javascript.js')
-rw-r--r--browser/components/urlbar/tests/unit/test_match_javascript.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/browser/components/urlbar/tests/unit/test_match_javascript.js b/browser/components/urlbar/tests/unit/test_match_javascript.js
index 3d3eab19ba..bba0af1376 100644
--- a/browser/components/urlbar/tests/unit/test_match_javascript.js
+++ b/browser/components/urlbar/tests/unit/test_match_javascript.js
@@ -32,7 +32,10 @@ add_task(async function test_javascript_match() {
await PlacesFrecencyRecalculator.recalculateAnyOutdatedFrecencies();
info("Match non-javascript: with plain search");
- let context = createContext("a", { isPrivate: false });
+ let context = createContext("a", {
+ isPrivate: false,
+ allowAutofill: false /* avoid autofilling abc, as it's not necessary */,
+ });
await check_results({
context,
matches: [