Skip to content

Commit

Permalink
Bug 1833189 - Remove plugin.state.flash pref r=mossop,webdriver-revie…
Browse files Browse the repository at this point in the history
…wers,perftest-reviewers,whimboo,afinder,emilio

Differential Revision: https://phabricator.services.mozilla.com/D178089
  • Loading branch information
gregorypappas committed May 26, 2023
1 parent e8a0ebb commit 98f6fcf
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion dom/base/Document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
#include "mozilla/StaticPrefs_layout.h"
#include "mozilla/StaticPrefs_network.h"
#include "mozilla/StaticPrefs_page_load.h"
#include "mozilla/StaticPrefs_plugins.h"
#include "mozilla/StaticPrefs_privacy.h"
#include "mozilla/StaticPrefs_security.h"
#include "mozilla/StaticPrefs_widget.h"
Expand Down
1 change: 0 additions & 1 deletion dom/events/EventStateManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include "mozilla/StaticPrefs_dom.h"
#include "mozilla/StaticPrefs_layout.h"
#include "mozilla/StaticPrefs_mousewheel.h"
#include "mozilla/StaticPrefs_plugin.h"
#include "mozilla/StaticPrefs_ui.h"
#include "mozilla/StaticPrefs_zoom.h"

Expand Down
1 change: 0 additions & 1 deletion dom/plugins/base/nsPluginTags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <cctype>
#include "mozilla/Encoding.h"
#include "mozilla/dom/FakePluginTagInitBinding.h"
#include "mozilla/StaticPrefs_plugin.h"

using mozilla::dom::FakePluginTagInit;
using namespace mozilla;
Expand Down
14 changes: 0 additions & 14 deletions modules/libpref/init/StaticPrefList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12888,20 +12888,6 @@
value: true
mirror: always

#---------------------------------------------------------------------------
# Prefs starting with "plugin."
#---------------------------------------------------------------------------

- name: plugin.state.flash
type: uint32_t
# Flash is Click-to-Activate by default on all channels. Disabled for ARM builds.
#if defined(_ARM64_) && defined(XP_WIN)
value: 0
#else
value: 1
#endif
mirror: always

#---------------------------------------------------------------------------
# Prefs starting with "plugins."
#---------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion modules/libpref/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ pref_groups = [
"permissions",
"places",
"plain_text",
"plugin",
"plugins",
"preferences",
"print",
Expand Down
5 changes: 0 additions & 5 deletions testing/geckodriver/src/prefs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ lazy_static! {
// Make sure SNTP requests do not hit the network
("network.sntp.pools", Pref::new("%(server)s")),

// Disable Flash. The plugin container it is run in is
// causing problems when quitting Firefox from geckodriver,
// c.f. https://github.com/mozilla/geckodriver/issues/225.
("plugin.state.flash", Pref::new(0)),

// Don't do network connections for mitm priming
("security.certerrors.mitm.priming.enabled", Pref::new(false)),

Expand Down
1 change: 0 additions & 1 deletion testing/profiles/perf/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ user_pref("media.peerconnection.enabled", true);
// relatively long time which may cause unnecessary intermittents and slow down
// tests. This, like many things, will stop working correctly in 2038.
user_pref("places.database.lastMaintenance", 2147483647);
user_pref("plugin.state.flash", 0);
user_pref("privacy.reduceTimerPrecision", false); // Bug 1445243 - reduces precision of tests
user_pref("privacy.trackingprotection.annotate_channels", false);
user_pref("privacy.trackingprotection.enabled", false);
Expand Down

0 comments on commit 98f6fcf

Please sign in to comment.