Bug 1440700 - Add frameId in onClickData in menus.json r=mixedpuppy
authorDiego Pino Garcia <dpino@igalia.com>
Wed, 28 Nov 2018 00:29:11 +0200
changeset 507642 07cdc29645eeffc12a018f5d4a89e61be6ed9529
parent 507641 e52f3a7ece193bdf93ac2c87796cad693bb1e882
child 507643 1809212f5f295dc72c9306eabde08eea7468245e
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmixedpuppy
bugs1440700
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1440700 - Add frameId in onClickData in menus.json r=mixedpuppy
browser/components/extensions/schemas/menus.json
--- a/browser/components/extensions/schemas/menus.json
+++ b/browser/components/extensions/schemas/menus.json
@@ -108,16 +108,22 @@
             "optional": true,
             "description": "Will be present for elements with a 'src' URL."
           },
           "pageUrl": {
             "type": "string",
             "optional": true,
             "description": "The URL of the page where the menu item was clicked. This property is not set if the click occured in a context where there is no current page, such as in a launcher context menu."
           },
+          "frameId": {
+           "type": "integer",
+           "optional": true,
+           "minimum": 0,
+           "description": "The id of the frame of the element where the context menu was clicked."
+          },
           "frameUrl": {
             "type": "string",
             "optional": true,
             "description": " The URL of the frame of the element where the context menu was clicked, if it was in a frame."
           },
           "selectionText": {
             "type": "string",
             "optional": true,