Closed
Bug 1482235
Opened 6 years ago
Closed 6 years ago
test_PlacesSearchAutocompleteProvider.js should set Services.appinfo.name for xpcshell
Categories
(Toolkit :: Places, defect, P5)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla63
People
(Reporter: mkaply, Assigned: mkaply)
References
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
test_PlacesSearchAutocompleteProvider.js is getting a Javascript strict error when running:
0:01.19 pid:5928 JavaScript strict warning: file:///Users/michaelkaply/Projects/mozilla-unified/obj-x86_64-apple-darwin16.7.0/dist/Nightly.app/Contents/Resources/components/nsSearchService.js, line 694: ReferenceError: reference to undefined property "name"
This is because xpcshell tests that use search should do:
ChromeUtils.import("resource://testing-common/AppInfo.jsm");
updateAppInfo();
So that have Services.appInfo.name is set.
Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Comment on attachment 8998983 [details]
Bug 1482235 - Import AppInfo for test.
Ed Lee :Mardak has approved the revision.
Attachment #8998983 -
Flags: review+
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/0d3b8e14e25f
Import AppInfo for test. r=Mardak
Comment 4•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment 5•6 years ago
|
||
status-firefox62:
--- → fixed
Updated•6 years ago
|
Whiteboard: [fxsearch]
You need to log in
before you can comment on or make changes to this bug.
Description
•