gecko-dev/browser/components/extensions
Rob Wu 36516a10a8 Bug 1475842 - Change parameter format in browser.search API r=rpl
Changes to browser.search.search API:
- Change the positional parameters to an object parameter.
- Rename "engineName" to "engine", and make this an optional parameter.
- Rename "searchTerms" to "query".

Changes to browser.search.search implementation:
- Simplify gBrowser getter. None of the "!gBrowser" conditionals are
  necessary, as demonstrated by the new options page+sidebar tests
  (which passed even after  removing the `if (!gBrowser ...)` blocks).
  Use windowTracker.topWindow for consistency with our other code.

Test changes:
- Remove unneeded name / "TEST_ID" in tests
- Use SEARCH_TERM constant in more places.
- New test: Using API from options page.
- New test: Using API from sidebar.
- New test: Using API without explicit "engine" parameter.

Differential Revision: https://phabricator.services.mozilla.com/D3417

--HG--
extra : moz-landing-system : lando
2018-08-21 14:43:46 +00:00
..
child Bug 1325814 - Support shadow DOM in menus.getTargetElement + test r=mixedpuppy 2018-08-08 18:06:41 +02:00
parent Bug 1475842 - Change parameter format in browser.search API r=rpl 2018-08-21 14:43:46 +00:00
schemas Bug 1475842 - Change parameter format in browser.search API r=rpl 2018-08-21 14:43:46 +00:00
test Bug 1475842 - Change parameter format in browser.search API r=rpl 2018-08-21 14:43:46 +00:00
.eslintrc.js
ext-browser.json Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
extension-mac-panel.css
extension-mac.css Bug 1482411 - Port bug 1371951 changes to extension-mac.css r=mixedpuppy 2018-08-10 15:00:35 +00:00
extension-win-panel.css
extension.css Bug 1484501 - Fix negated disabled selector in extension.css; r=bwinton 2018-08-21 05:21:28 +00:00
extension.svg
ExtensionControlledPopup.jsm Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE 2018-07-26 11:13:28 +03:00
ExtensionPopups.jsm Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
extensions-browser.manifest Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
jar.mn Bug 1325814 - Add extension API to find menu target r=mixedpuppy 2018-08-04 18:09:49 +02:00
moz.build Bug 1469872 - update bugzilla products and components in moz.build files: webextensions. r=nalexander 2018-06-20 21:41:59 +03:00
ParseBreakpadSymbols-worker.js Bug 1461056 - Remove the "remoteBreakpad" symbol rule, because it's no longer needed. r=dthayer 2018-05-11 23:18:44 -04:00
ParseCppFiltSymbols-worker.js
ParseNMSymbols-worker.js
ParseSymbols.jsm