Skip to content

Unable to migrate EasyListChina subscription

Environment

  • Browser and full version: Chrome 105.0.5195.125
  • Extension using this toolkit:
    • test-mv2 (based on 0.6.1)
    • test-mv3 (based on 0.7.0)
  • Commit hash: 0.7.0

Steps to reproduce

  1. Set value of "version" property in manifest.json file to "0.0.2" to avoid #383 (closed).
  2. Copy "test-mv2" directory and rename it to "test".
  3. Install "test" directory as unpacked extension.
  4. Run await EWE.subscriptions.add("https://easylist-downloads.adblockplus.org/easylist.txt").
  5. Run await EWE.subscriptions.add("https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt").
  6. Remove "test" directory.
  7. Copy "test-mv3" directory and rename it to "test".
  8. Reload unpacked extension.
  9. Run await EWE.subscriptions.getDownloadable().
  10. Run EWE.subscriptions.getMigrationErrors().

Actual behavior

Expected behavior

  • EasyList was migrated.
  • EasyListChina was migrated.
  • No migration errors.

Further information

It seems that EasyListChina's URL changed from https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt to https://easylist-downloads.adblockplus.org/easylistchina+easylistchina_compliance+easylist.txt between the releases of EWE 0.6.1 and 0.7.0.