Closed
Bug 1482235
Opened 5 years ago
Closed 5 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•5 years ago
|
||
Comment 2•5 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•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d3b8e14e25f
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment 5•5 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/ce79b99f0beb5b75adfbb70bae3a85c7142e978f
status-firefox62:
--- → fixed
Updated•5 years ago
|
Whiteboard: [fxsearch]
You need to log in
before you can comment on or make changes to this bug.
Description
•