Closed Bug 932830 Opened 8 years ago Closed 8 years ago

Add home banner API to let add-on know when message is shown to user

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(fennec28+)

RESOLVED FIXED
Firefox 28
Tracking Status
fennec 28+ ---

People

(Reporter: Margaret, Assigned: Margaret)

References

Details

Attachments

(1 file)

Similarly to setting an onclick handler, an add-on should also be able to set an onshown handler.

This will be important for metrics for the snippets add-on.
Attached patch patchSplinter Review
Attachment #824888 - Flags: review?(wjohnston)
tracking-fennec: ? → 28+
Comment on attachment 824888 [details] [diff] [review]
patch

Review of attachment 824888 [details] [diff] [review]:
-----------------------------------------------------------------

I'd rather "onshown" than "onshow". We should write some tests for this :)
Attachment #824888 - Flags: review?(wjohnston) → review+
https://hg.mozilla.org/mozilla-central/rev/c7bf717e72b1
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 28
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.