We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3408921 + 75d9ae9 commit 250d394Copy full SHA for 250d394
extensions/firefox/content/PdfRedirector.jsm
@@ -60,6 +60,10 @@ function getObjectUrl(window) {
60
}
61
62
// Checking if overlay is a proper PlayPreview overlay.
63
+ if (element.displayedType !== element.TYPE_NULL ||
64
+ element.pluginFallbackType !== element.PLUGIN_PLAY_PREVIEW) {
65
+ return null; // invalid plugin element overlay state
66
+ }
67
for (var i = 0; i < element.children.length; i++) {
68
if (element.children[i] === containerElement) {
69
return null; // invalid plugin element overlay
0 commit comments