fx-private-relay-add-on icon indicating copy to clipboard operation
fx-private-relay-add-on copied to clipboard

Audit add-on files

Open pdehaan opened this issue 4 years ago • 2 comments
trafficstars

https://addons.mozilla.org/firefox/downloads/file/3720941/firefox_relay-1.5.1-fx.xpi (432 KB, 57 files) vs https://addons.mozilla.org/firefox/downloads/file/3720941/firefox_relay-1.7.1-fx.xpi (513 KB, 104 files)

Looks like the latest add-on (1.7.1) added ~81 KB and 47 files. Notably added:

  • README.md (2 KB)
  • sequence-diagram.svg (10 KB)
  • sequence-diagram.mmd (1 KB)
  • web-ext-config.js (505 B)
  • _locales/** (121 KB)

firefox_relay-1_7_1-fx_xpi_and_firefox_relay-1_5_1-fx_xpi_and_New_Issue_·_mozilla_fx-private-relay-add-on

NAME 1.5.1 1.7.1 NOTES
manifest.json 1 KB 1 KB
README.md - 2 KB NEW
first-run.html 2 KB 1 KB
popup.html 4 KB 7 KB +3 KB
sequence-diagram.svg - 10 KB NEW
sequence-diagram.mmg - 1 KB NEW
css/ 22 KB 25 KB +3 KB
fonts/ 324 KB 324 KB
icons/ 25 KB 26 KB
js/ 146 KB 157 KB +11 KB
_locales/ - 121 KB NEW / +121 KB
images/ 45 KB 87 KB +42 KB
META-INF/ 22 KB 31 KB +9 KB
mozilla-recommendation.json 161 B 161 B

pdehaan avatar Oct 07 '21 15:10 pdehaan

Not sure any of this is worth anything. We can definitely omit the README, sequence-diagram.* files and other minor cruft, but it'd be nominal savings for a 1.7.2 build. Most of the new file size is probably due to the additional locales.

pdehaan avatar Oct 07 '21 15:10 pdehaan

Definitely need to keep new _locales/

groovecoder avatar Oct 07 '21 16:10 groovecoder