mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
bug 1294341 - add a fake filename to avoid an assertion that plugin filenames have periods in them r=bsmedberg
This commit is contained in:
parent
fa10f0ca80
commit
750d2949b7
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user