Created
January 7, 2020 16:14
-
-
Save daleharvey/317a87149b93d3b09de68dffabfbc36a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm"); | |
XPCOMUtils.defineLazyModuleGetters(this, { | |
Services: "resource://gre/modules/Services.jsm", | |
SearchTestUtils: "resource://testing-common/SearchTestUtils.jsm", | |
}); | |
async function getLocales() { | |
console.log(SearchTestUtils); | |
} | |
[Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" | |
location: "JS frame :: file:///Users/dale/src/search-helper-extension/extension/experiments/searchengines/api.js :: | |
getLocales :: line 9" data: no] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment