Messaging: Move messaging port code to src/ directory
Background / User story
As part of our effort to dissolve the adblockpluschrome/ directory, we need to bring over the messaging-related code, which makes up the core of the extension code, so that we can more easily bring over other parts.
This change is meant to move all existing messaging port code out of adblockpluschrome/lib/ and into src/core/api.
What to change
- Design: N/A
- Research: N/A
- Spec: N/A
- Legal: N/A
-
Development:
- Move adblockpluschrome/lib/messaging/port.js to src/core/api/background/.
- Move
forward()
function out of adblockpluschrome/lib/messageResponder.js and attach it to messaging port instead.
Hints for testers
TBD
Hints for translators
N/A
Further information
Internal ticket: https://eyeo.atlassian.net/browse/EE-382
Edited by Thomas Greiner