~abreu-alexandre/unity-chromium-extension/fix-1138473

Viewing all changes in revision 210.

  • Committer: Tarmac
  • Author(s): Alexandre Abreu
  • Date: 2013-01-08 16:38:53 UTC
  • mfrom: (209.1.1 latest)
  • Revision ID: tarmac-20130108163853-9oalc6o1ccn23kqo
For security purposes, upstream chromium tried to limit the "range of motion" of non built-in NPAPI plugins (only for Linux atm). Any NPAPI plugin not listed in the default NPAPI plugin for the platform (pdf, flash, etc.), all defined in src/chrome/browser/resources/plugin_metadata/plugins_linux.json and src/webkit/npapi/plugin_list.cc/.h are by default (until the user grants specific permission) unauthorized to run.

A somewhat acceptable solution is to update the list of enabled plugins for Linux (a more general mechanism that would avoid tempering with the .json plugin file could be added). The change is not as clean as it could be (name/identifier of the plugin is messy, versions, etc.) but a cleaner one would make us touch webkit's sources, and upstream chromium is doing major changes to move out default plugin dependancies from webkit npapi source tree to chromium source tree (http://crbug.com/124396) once this is done we can clean up the changes. Fixes: https://bugs.launchpad.net/bugs/1091334.

Approved by Víctor R. Ruiz, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: