Closed
Bug 1462796
Opened 7 years ago
Closed 5 years ago
Remove unused Fennec BlocklistPrompt
Categories
(Firefox for Android Graveyard :: Add-on Manager, enhancement, P5)
Firefox for Android Graveyard
Add-on Manager
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nalexander, Unassigned)
References
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Details |
Bug 1462281 removed some functionality from Desktop's browser.js, and code search revealed that Fennec's implementation of BlocklistPrompt also invokes getNotificationBox... which doesn't exist. This has probably been broken for a very long time.
I filed this in Add-on Manager so that somebody involved in Web Extensions or Add-ons more generally can figure out if this needs to be addressed in Fennec, or if we can just jettison BlocklistPrompt into the sea.
Reporter | ||
Comment 1•7 years ago
|
||
aswan: sorry to always flag you, but can you redirect to somebody in Add-ons land who can comment?
Flags: needinfo?(aswan)
Updated•7 years ago
|
Flags: needinfo?(aswan) → needinfo?(ddurst)
Comment 2•7 years ago
|
||
Redirecting the needinfo to me, I'm going to look into it.
Flags: needinfo?(ddurst) → needinfo?(lgreco)
Comment 3•7 years ago
|
||
This is essentially dead code that can be removed. We only use the blocklist prompt for extensions that require a restart to uninstall, and plugins. The former don't exist anymore, and Fennec does not support the latter.
Comment 4•7 years ago
|
||
(In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #3)
> This is essentially dead code that can be removed. We only use the blocklist
> prompt for extensions that require a restart to uninstall, and plugins. The
> former don't exist anymore, and Fennec does not support the latter.
Thanks! I'm renaming this issue accordingly (into "Remove unused Fennec BlocklistPrompt").
Based on Kris' comment 3, it looks that we should remove 'mobile/android/components/BlocklistPrompt.js'
and any reference of it from the Fennec sources, in particular the following seems the only direct reference
to this file and/or the '{4e6ea350-b09a-11df-94e2-0800200c9a66}' component registered by it:
- https://searchfox.org/mozilla-central/rev/8affe6e83188787eb61fe0528eeb6eef6081ba06/mobile/android/components/MobileComponents.manifest#81-83
- https://searchfox.org/mozilla-central/source/mobile/android/components/moz.build#22
- https://searchfox.org/mozilla-central/source/mobile/android/installer/package-manifest.in#352
Summary: Fennec BlocklistPrompt almost certainly broken → Remove unused Fennec BlocklistPrompt
Reporter | ||
Comment 5•7 years ago
|
||
(In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #3)
> This is essentially dead code that can be removed. We only use the blocklist
> prompt for extensions that require a restart to uninstall, and plugins. The
> former don't exist anymore, and Fennec does not support the latter.
\o/ Thank you Luca, thank you Kris.
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
The add-on manager support for this can go away too.
Comment 8•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Needinfo :susheel if you think this bug should be re-triaged.
Priority: -- → P5
Comment 9•5 years ago
|
||
I just double-checked that any trace of the BlocklistPrompt is gone from the android-related internals, and so this Fennec-related issue can actually be closed.
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(lgreco)
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•