mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 899080 - Test fixup part 4 - content. r=smaug
This commit is contained in:
parent
cff38dccd0
commit
4d35b4e5ed
@ -11,6 +11,15 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=62178
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
|
||||
<script>
|
||||
var ph = SpecialPowers.Cc["@mozilla.org/plugin/host;1"]
|
||||
.getService(SpecialPowers.Ci.nsIPluginHost);
|
||||
var tags = ph.getPluginTags();
|
||||
for (var tag of tags) {
|
||||
if (tag.name == "Test Plug-in") {
|
||||
tag.enabledState = SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED;;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var origBlockDisplay = SpecialPowers.getBoolPref("security.mixed_content.block_display_content");
|
||||
var origBlockActive = SpecialPowers.getBoolPref("security.mixed_content.block_active_content");
|
||||
|
@ -11,6 +11,15 @@
|
||||
"use strict";
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var pluginHost = SpecialPowers.Cc["@mozilla.org/plugin/host;1"]
|
||||
.getService(SpecialPowers.Ci.nsIPluginHost);
|
||||
var pluginTags = pluginHost.getPluginTags();
|
||||
for (var tag of pluginTags) {
|
||||
if (tag.name == "Test Plug-in") {
|
||||
tag.enabledState = SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED;;
|
||||
}
|
||||
}
|
||||
|
||||
// This can go away once embed also is on WebIDL
|
||||
let OBJLC = SpecialPowers.Ci.nsIObjectLoadingContent;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user