Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Closes #2243: Add engine API for WebExtension messaging #2836

Merged
merged 1 commit into from
Apr 25, 2019

Conversation

csadilek
Copy link
Contributor

This brings in the web extension messaging functionality (+ tests and Kdoc).

I want to commit a working example with this so I added a simply bidirectional message exchange to our stub reader view feature. Once this PR lands, work on reader view will continue in #2624 and these simple example messages will replaced with the actual reader view messages.

As we now need the engine to return a WebExtension instance (abstracting over the concrete engine-specific implementation), there is a slight API change to install extensions by id and url and pass along the installed web extension in onSuccess.

@csadilek csadilek requested a review from a team as a code owner April 24, 2019 17:02
@csadilek csadilek force-pushed the issue-2243 branch 3 times, most recently from 2f28d64 to dfa1cb8 Compare April 24, 2019 18:11
Copy link
Contributor

@jonalmeida jonalmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting! \o/

@csadilek csadilek merged commit b98206c into mozilla-mobile:master Apr 25, 2019
@ligi
Copy link
Contributor

ligi commented Sep 25, 2019

Thanks so much for this PR!
I am a bit puzzled on this part of the documentation though:

https://github.com/mozilla-mobile/android-components/pull/2836/files#diff-343723a0cb380f664aedf0dfed5c1c2fR42

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants