Closed wagnerand closed 4 years ago
I suggested the management permission since we will likely want to have the add on self uninstall after the study ends to ensure everything is cleaned up, and I didn’t want users to have to get an extra upgrade prompt when the permissions change.
Maybe that’s not a concern or there’s a better way to do this though :)
Excellent, thanks! We will end up using the management perm for uninstall, but I think you're right about the others. I'll make these changes in my final push.
Sounds good, thank you!
I am fairly certain the management.uninstallSelf
method does not actually require the management
permission. Good to test to be certain before you remove it.
Indeed, I can uninstall self without the management
perm. Handy :)
I think what's pushed now is full functionality. @knowtheory and I have some UX improvements that we'll likely want to get through, but this is it for now. @wagnerand is it possible to get this version signed off on?
(sorry, I just pushed one last commit to fix a tracked domain, hopefully nobody had grabbed the code yet)
I completed the add-on review of rev 13d60a95b2e5298797e2d7ddde31b617fe317d5b.
Overall, the code looks ok. There are a few issues we'd ask you to resolve for the final build:
1) Please remove all unused permissions from
manifest.json
. It looks like at least the following permissions are unused:downloads
management
webRequestBlocking
2) It looks like the images do not need to be web-accessible. If so, please remove theweb_accessible_resources
key frommanifest.json
3) It looks like the following files are unused. If so, please remove them:WebScience/Measurements/CovidClassifier.js
WebScience/Utilities/Randomization.js
4) Nit (feel free to defer to later):WebScience/Measurements/content-scripts/Readability.js
andWebScience/Utilities/Readability.js
are almost identical, I recommend to remove the duplicate.Thank you.