зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1339195 - Clearly document event extra fields requiring string keys and values. r=Dexter
This commit is contained in:
Родитель
5af348937a
Коммит
9b7924d846
|
@ -43,7 +43,7 @@ Where the individual fields are:
|
|||
- ``method``: ``String``, identifier. This describes the type of event that occured, e.g. ``click``, ``keydown`` or ``focus``.
|
||||
- ``object``: ``String``, identifier. This is the object the event occured on, e.g. ``reload_button`` or ``urlbar``.
|
||||
- ``value``: ``String``, optional, may be ``null``. This is a user defined value, providing context for the event.
|
||||
- ``extra``: ``Object``, optional, may be ``null``. This is an object of the form ``{"key": "value", ...}``, used for events where additional context is needed.
|
||||
- ``extra``: ``Object``, optional, may be ``null``. This is an object of the form ``{"key": "value", ...}``, both keys and values need to be strings. This is used for events where additional richer context is needed.
|
||||
|
||||
.. _eventlimits:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче