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
- Set value of "version" property in manifest.json file to "0.0.2" to avoid #383 (closed).
- Copy "test-mv2" directory and rename it to "test".
- Install "test" directory as unpacked extension.
- Run
await EWE.subscriptions.add("https://easylist-downloads.adblockplus.org/easylist.txt")
. - Run
await EWE.subscriptions.add("https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt")
. - Remove "test" directory.
- Copy "test-mv3" directory and rename it to "test".
- Reload unpacked extension.
- Run
await EWE.subscriptions.getDownloadable()
. - Run
EWE.subscriptions.getMigrationErrors()
.
Actual behavior
- EasyList was migrated.
- EasyListChina was not migrated.
- Migration error: "Failed to find the subscription with URL=https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt"
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.