aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/org.gnome.epiphany.gschema.xml5
-rw-r--r--embed/ephy-embed-prefs.c4
-rw-r--r--lib/ephy-prefs.h1
3 files changed, 10 insertions, 0 deletions
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 1a38d9564..7437c85f4 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -179,6 +179,11 @@
<summary>Enable WebGL</summary>
<description>Whether to enable support for WebGL contexts.</description>
</key>
+ <key type="b" name="enable-webaudio">
+ <default>false</default>
+ <summary>Enable WebAudio</summary>
+ <description>Whether to enable support for WebAudio.</description>
+ </key>
<key type="b" name="do-not-track">
<default>false</default>
<summary>Do Not Track</summary>
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 26a45ac7f..86d9d94f3 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -674,6 +674,10 @@ ephy_embed_prefs_init (void)
EPHY_PREFS_WEB_ENABLE_WEBGL,
webkit_settings, "enable-webgl",
G_SETTINGS_BIND_GET);
+ g_settings_bind (EPHY_SETTINGS_WEB,
+ EPHY_PREFS_WEB_ENABLE_WEBAUDIO,
+ webkit_settings, "enable-webaudio",
+ G_SETTINGS_BIND_GET);
}
void
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index 7e035decb..a5b182d50 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -103,6 +103,7 @@ typedef enum
#define EPHY_PREFS_WEB_ENABLE_JAVASCRIPT "enable-javascript"
#define EPHY_PREFS_WEB_ENABLE_SPELL_CHECKING "enable-spell-checking"
#define EPHY_PREFS_WEB_ENABLE_WEBGL "enable-webgl"
+#define EPHY_PREFS_WEB_ENABLE_WEBAUDIO "enable-webaudio"
#define EPHY_PREFS_WEB_COOKIES_POLICY "cookies-policy"
#define EPHY_PREFS_WEB_IMAGE_ANIMATION_MODE "image-animation-mode"
#define EPHY_PREFS_WEB_DEFAULT_ENCODING "default-encoding"