bug 1294341 - add a fake filename to avoid an assertion that plugin filenames have periods in them r=bsmedberg

This commit is contained in:
Brad Lassey 2016-09-29 12:37:20 -04:00
parent fa10f0ca80
commit 750d2949b7

View File

@ -383,7 +383,7 @@ nsPluginArray::EnsurePlugins()
}
if (mPlugins.Length() == 0 && mCTPPlugins.Length() != 0) {
nsCOMPtr<nsPluginTag> hiddenTag = new nsPluginTag("Hidden Plugin", NULL, NULL, NULL, NULL,
nsCOMPtr<nsPluginTag> hiddenTag = new nsPluginTag("Hidden Plugin", NULL, "dummy.plugin", NULL, NULL,
NULL, NULL, NULL, 0, 0, false);
mPlugins.AppendElement(new nsPluginElement(mWindow, hiddenTag));
}