Skip to content

Commit

Permalink
fix bug 1676360
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 4, 2021
1 parent 36a0ec4 commit c41473d
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 0 deletions.
10 changes: 10 additions & 0 deletions browserAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,16 @@ Checks whether the toolbar action is enabled.
:type: (:ref:`browserAction.Details`)


.. api-header::
:label: Return type (`Promise`_)


.. api-member::
:type: boolean


.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _browserAction.openPopup:

openPopup()
Expand Down
10 changes: 10 additions & 0 deletions composeAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ Checks whether the toolbar action is enabled.
:type: (:ref:`composeAction.Details`)


.. api-header::
:label: Return type (`Promise`_)


.. api-member::
:type: boolean


.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _composeAction.openPopup:

openPopup()
Expand Down
10 changes: 10 additions & 0 deletions messageDisplayAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,16 @@ Checks whether the toolbar action is enabled.
:type: (:ref:`messageDisplayAction.Details`)


.. api-header::
:label: Return type (`Promise`_)


.. api-member::
:type: boolean


.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _messageDisplayAction.openPopup:

openPopup()
Expand Down
8 changes: 8 additions & 0 deletions overlay/browserAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"added": "74.0b2"
}
],
"functions": [
{
"name": "isEnabled",
"returns": {
"type": "boolean"
}
}
],
"events": [
{
"name": "onClicked",
Expand Down
8 changes: 8 additions & 0 deletions overlay/composeAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"added": "74.0b2"
}
],
"functions": [
{
"name": "isEnabled",
"returns": {
"type": "boolean"
}
}
],
"events": [
{
"name": "onClicked",
Expand Down
8 changes: 8 additions & 0 deletions overlay/messageDisplayAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"added": "74.0b2"
}
],
"functions": [
{
"name": "isEnabled",
"returns": {
"type": "boolean"
}
}
],
"events": [
{
"name": "onClicked",
Expand Down

0 comments on commit c41473d

Please sign in to comment.