Open Bug 1201857 Opened 9 years ago Updated 2 years ago

about:plugins shows phantom data

Categories

(Core :: Audio/Video: GMP, defect, P5)

38 Branch
defect

Tracking

()

People

(Reporter: stefan.kanthak, Unassigned)

References

Details

Attachments

(1 file)

Attached image openh264.png
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150826044534

Steps to reproduce:

1. move directory gmp-gmpopenh264 from Firefox profile to installation directory, next to directory gmp-clearkey, where Firefox searches for GMPs by default
2. upgrade Firefox to ESR 38.2.0
3. start Firefox and enter about:plugins


Actual results:

about:plugins shows phantom data for OpenH264 codec, see attachment:
"D:\Benutzer\Administrator\Anwendungsdaten\Mozilla\Firefox\Profiles\.default\gmp-gmpopenh264\1.4"
does NOT exist!


Expected results:

about:plugins must show correct path

Also see 1192984
QA Whiteboard: [bugday-20150907]
See Also: → 1192984
Component: Untriaged → Plug-ins
Product: Firefox → Core
Moving Firefox files around isn't supported as far as I know. Why do you expect this to work? I would expect us to try and reinstall the Adobe GMP at the correct location.
Component: Plug-ins → Audio/Video: GMP
(In reply to Benjamin Smedberg  [:bsmedberg] from comment #1)
> Moving Firefox files around isn't supported as far as I know.

Is the Adobe GMP a "Firefox file"?
I can't find it in the current "Firefox Setup 38.4.0esr.exe"!

> Why do you expect this to work?

Do I? This bug report would be titled "OpenH264 not working when moved to Firefox' installation directory" then.
I only expect that Firefox' about:plugins doesn't show nonexistent paths.

> I would expect us to try and reinstall the Adobe GMP at the correct location.

Are you kidding?
You are undermining the ONLY security boundary ANY OS provides: privilege separation.
Executables MUST NOT be placed in user-writable locations and run from there.

JFTR: after initial installation of Firefox, before its first start, create a file "presets.js" in Firefox' application/installation directory with the following contents

--- presets.js ---
defaultPref("media.eme.enabled", false);
defaultPref("media.gmp-gmpopenh264.enabled", false);
defaultPref("media.gmp-gmpopenh264.provider.enabled", false);
--- EOF --

and a file "Defaults\Prefs\local-settings.js with the following contents:

--- local-settings.js ---
pref("general.config.filename", "presets.js");
--- EOF ---

Then start Firefox and visit about:plugins
What do you get?

JFTR: why is the "clearkey" GMP not shown there?
This is definitivel a "Firefox file" and installed in Firefox' installation directory.
I believe it says the wrong directory if you do this.  As to whether we care about this case is another question... As bsmedberg says, moving the install directory is not something we anticipate or plan to handle
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.