Closed Bug 1451767 Opened 2 years ago Closed 2 years ago

Add missing type in events API schema examples from the WebExtensions docs

Categories

(WebExtensions :: General, enhancement, P3, trivial)

60 Branch
enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: rpl, Assigned: rpl)

References

Details

Attachments

(1 file)

While investigated an issue with an "extension with bundled experiment API" we noticed that the examples from our docs related to how to define new API events are currently missing the "type" property (which is expected to be set to "function").

Lets fix the docs so that they don't drive crazy the new developers that are working on "experiments" (or new APIs) which includes API events :-)
Assignee: nobody → lgreco
Severity: normal → trivial
Status: NEW → ASSIGNED
Priority: -- → P3
Attachment #8965349 - Flags: review?(aswan)
Comment on attachment 8965349 [details]
Bug 1451767 - Add missing type in events API schema examples from the WebExtensions docs.

https://reviewboard.mozilla.org/r/234078/#review239734

thanks!
Attachment #8965349 - Flags: review?(aswan) → review+
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/3704a88eedbf
Add missing type in events API schema examples from the WebExtensions docs. r=aswan
https://hg.mozilla.org/mozilla-central/rev/3704a88eedbf
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
See Also: → 1451699
This is a docs-only change, marking it as qe-verify-.
Flags: qe-verify-
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.