Closed Bug 1379640 Opened 7 years ago Closed 6 years ago

Spurious notification about externally installed "Flash as Click-to-Activate" addon

Categories

(Toolkit :: Telemetry, defect, P4)

55 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox55 - unaffected
firefox56 --- fix-optional
firefox57 --- fix-optional

People

(Reporter: marco, Unassigned)

References

Details

Attachments

(1 file)

Attached image screen.png
After updating Nightly and restarting it, I got this notification. I assume it is a system addon and so I shouldn't have seen any notification.
I believe this is: webextPerms.sideloadTextNoPerms=Another program on your computer installed an add-on that may affect your browser. Please choose to Enable or Cancel (to leave it disabled).

Definitely should not be seeing this for a system addon!

[Tracking Requested - why for this release]: If this affects beta, it's a big deal which could significantly harm rollout.
Flags: needinfo?(felipc)
This is not the first time we see a report like this, right? I recall something similar like 1 or 2 months ago..
The sideloaded warning showed up for a system add-on
Component: Plug-ins → Add-ons Manager
Flags: needinfo?(kmaglione+bmo)
Flags: needinfo?(felipc)
Flags: needinfo?(amckay)
Product: Core → Toolkit
Version: Trunk → 55 Branch
I have a vague memory of this but I don't remember the details.
A similar thing happened for telemetry experiments, that was bug 1367823 which was specific to the code that manages experiments.
In my Nightly I don't see a system add-on named "Flash as Click-to-Activate" though.  I do see "Click-to-Play staged rollout".  Sorry for the dumb question but do you actually have a sideloaded addon on your system named "Flash as Click-to-Activate"?
Flags: needinfo?(mcastelluccio)
Flags: needinfo?(kmaglione+bmo)
Flags: needinfo?(amckay)
After seeing the prompt, I could see the addon in the "Experiments" section of the about:addons page. It was disabled (maybe because I hadn't accepted the prompt).
Flags: needinfo?(mcastelluccio)
Oh, this was a very old experiment:

Start Date
    13-Apr-2017
End Date
    23-Apr-2017
Maximum runtime
    10.0 days
Update Channels
    nightly
Firefox version(s)
    55.0a1 
Build ID
    20170331030216 - 
Sample Rate
    25% 

Although we still shouldn't be seeing this prompt ever for experiment addons, which have type=128.
Yuck, this could be fallout from the part of bug 1358907 that defers removing old experiments until after startup (for obvious reasons).  We can add additional special-casing of telemetry experiments to the pile of it that we already have through the addons manager.  However, now that we have shield, when can we just kill telemetry experiments?
Andy and I had an email thread about that earlier. While eventually we'll probably remove telex, opt-out shield studies aren't reliable enough to remove the old system yet, so we're keeping them both for a while yet.
This can be fixed by adding an `if (addon.type != "experiment")` clause somewhere like here:
http://searchfox.org/mozilla-central/rev/b7e531410ebc1c7d74a78e86a894e69608db318c/toolkit/mozapps/extensions/internal/XPIProvider.jsm#1607

or here:

http://searchfox.org/mozilla-central/rev/b7e531410ebc1c7d74a78e86a894e69608db318c/toolkit/mozapps/extensions/internal/XPIProvider.jsm#3242-3243

Its a trivial change but I don't understand enough about telemetry experiments to know how to trigger that behavior to test the change.  Updating the component so that somebody who does can write a patch that includes a proper test.
Component: Add-ons Manager → Telemetry
We can remove Telemetry Experiments soon in bug 1415284 et al.
That would obsolete this bug.
Depends on: 1415284
Priority: -- → P4
Telemetry experiments were removed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: