Skip to content

Commit 7bb58cc

Browse files
committed
Bug 1914380 - broken search, TypeError: can't access property name, engine is null in SearchModeSwitcher.sys.mjs. r=Standard8 a=graft
Differential Revision: https://phabricator.services.mozilla.com/D219879 UltraBlame original commit: 4db772ac6fb4857ac32d5f6c14da0c3282cee956
1 parent abcf33a commit 7bb58cc

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

toolkit/components/search/SearchSettings.sys.mjs

+5
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,11 @@ if
15961596
engine
15971597
.
15981598
_isAppProvided
1599+
&
1600+
&
1601+
engine
1602+
.
1603+
id
15991604
)
16001605
{
16011606
let

toolkit/components/search/tests/xpcshell/test_settings_migrate_id_format.js

+37
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,43 @@ order
138138
1
139139
}
140140
}
141+
/
142+
/
143+
It
144+
is
145+
possible
146+
for
147+
inactive
148+
engines
149+
to
150+
not
151+
have
152+
an
153+
id
154+
even
155+
if
156+
the
157+
/
158+
/
159+
settings
160+
version
161+
is
162+
over
163+
6
164+
see
165+
bug
166+
1914380
167+
.
168+
{
169+
_name
170+
:
171+
"
172+
engine3
173+
"
174+
_isAppProvided
175+
:
176+
true
177+
}
141178
]
142179
}
143180
;

0 commit comments

Comments
 (0)