Commit Graph

4 Commits

Author SHA1 Message Date
Rob Wu
cd1bdb8e47 Bug 1325814 - Add extension API to find menu target r=mixedpuppy
- Add info.targetElementId to menus.onShown event.

- Add info.targetElementId to menus.onClicked event.

- Add menus.getTargetElement API that is available to all contexts,
  including content scripts, which allows extensions to get the DOM
  element for a given targetElementId.

- Add new schema instead of re-using schemas/menus.json to avoid sending
  too much schema data (of the existing menus API) to content processes.

MozReview-Commit-ID: 6Onf7jZlIho
2018-08-04 18:09:49 +02:00
Kris Maglione
12808f301b Bug 1372406: Stop misusing import-globals-from in extension API scripts. r=aswan
MozReview-Commit-ID: FTkcmuguOwq
2018-03-25 21:20:17 -07:00
Margareta Eliza Balazs
6f3465c977 Backed out changeset 6af40fb76692 (bug 1372406) for Doc lint failure in builds/worker/checkouts/gecko/docs-out/html/main/_staging/python/mach.commands.rst on a CLOSED TREE 2018-03-28 07:26:10 +03:00
Kris Maglione
908b434d49 Bug 1372406: Stop misusing import-globals-from in extension API scripts. r=aswan
MozReview-Commit-ID: FTkcmuguOwq
2018-03-25 21:20:17 -07:00