The Flashblock extension triggers a bug in the plugin code when flashplayer 8
plugin is installed. This problem does not occur with flashplayer 7 is installed.
Problem appears in:
Firefox 1.0.6,
Firefox/1.4 (Gecko/20050917)
SeaMonkey/1.1a (Gecko/20050912)
Actual results: Flashblock placeholder remains in place.
Error shows up in the javascript console.
We add a custom attribute "prevHeight" to the html flash element before removing
it from the DOM. When we restore the element we check for the existence of this
attribute and we are failing on this line:
if("prevHeight" in current) {
I tried using a try/catch block but for some reason the try/catch was not
catching this error.
Error: [JavaScript Error: "Bad NPObject as private data!" {file: //flashblock/ content/ flashblock. xml" line: 190}] //flashblock/ content/ flashblock. xml
"chrome:
Source File: chrome:
Line: 190
The Flashblock extension triggers a bug in the plugin code when flashplayer 8
plugin is installed. This problem does not occur with flashplayer 7 is installed.
Problem appears in:
Firefox 1.0.6,
Firefox/1.4 (Gecko/20050917)
SeaMonkey/1.1a (Gecko/20050912)
Steps to reproduce:
1. Install flashplayer 8.0.22 from the Macromedia website. www.macromedia. com/software/ flashplayer/> flashblock. mozdev. org/installatio n.html> bugzilla. mozdev. org/attachment. cgi?id= 3443>
<http://
2. Install Flashblock 1.3.2 or later from:
<http://
3. Visit test case at:
<http://
4. Click on flashblock placeholder to reveal flash.
Expected results: Flash is shown.
Actual results: Flashblock placeholder remains in place.
Error shows up in the javascript console.
We add a custom attribute "prevHeight" to the html flash element before removing
it from the DOM. When we restore the element we check for the existence of this
attribute and we are failing on this line:
if("prevHeight" in current) {
I tried using a try/catch block but for some reason the try/catch was not
catching this error.
current.prevHeight getAttribute( "prevHeight" )
current.
also cause this error.
Even if the bug is with the macromedia flash plugin, try/catch should have
caught it but doesn't.
Possibly related bug 308814