Skip to content

refactor: Moved backend messaging code to src directory [#1482]

This MR contains the following changes:

  • Moved files from adblockpluschrome/lib/messaging/ to src/core/api/background/.
    • Updated file references.
  • Applied coding style.
  • Added type information.
    • Removed polyfills that are no longer necessary.
    • Fixed: "ext" namespace wasn't declared as a global, as browser is.
    • Fixed: EWE types were declare globally.

Alternatively, this MR could be split up into two changes - one for moving the files and one for adding type information - considering that the vast majority of the changes relate to the latter. However, considering that this code is at the core of all messaging, and that the second MR would still be quite large, it may be best to have them in a single MR.

Merge request reports