mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 741134 - Plugin placeholder shown even when Site Setting says 'Play Plugins: Yes'. r=mfinkle
This commit is contained in:
parent
b931d603dc
commit
d37e73f9ce
@ -1945,7 +1945,10 @@ Tab.prototype = {
|
||||
case "PluginClickToPlay": {
|
||||
let plugin = aEvent.target;
|
||||
|
||||
if (this.clickToPlayPluginsActivated) {
|
||||
// Check if plugins have already been activated for this page, or if the user
|
||||
// has set a permission to always play plugins on the site
|
||||
if (this.clickToPlayPluginsActivated ||
|
||||
Services.perms.testPermission(this.browser.currentURI, "plugins") == Services.perms.ALLOW_ACTION) {
|
||||
PluginHelper.playPlugin(plugin);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user