Closed
Bug 338630
Opened 19 years ago
Closed 18 years ago
Error calling method on NPObject!
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: philip.chee, Unassigned)
References
()
Details
(Keywords: regression)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060519 Minefield/3.0a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060519 MultiZilla/1.8.2.0e Mnenhy/0.7.4.0 SeaMonkey/1.5a
Error: Error calling method on NPObject!
Source file: chrome://flashblock/content/flashblock.xml
Line: 41
Steps to reproduce:
1. Install latest Flashblock-cvs from:
<http://downloads.mozdev.org/flashblock/flashblock-1.5.unstable.xpi>
2. Restart Minefield.
3. Visit test case:
<http://bugzilla.mozdev.org/attachment.cgi?id=3667&action=view>
Error occurs when we try to invoke a Flash method via javascript:
StopPlay() should be accessible via javascript.
function flashblockShowPlaceholder() {
// Just in case the object has been moved away from under our feet during
// the timeout, re-assign the parent node. See bug 13680
parent = current.parentNode;
parent.insertBefore(placeholder, current);
if(placeholder.isStandalone) {
placeholder.flashblock = "frame";
current.StopPlay();
I have used the following web page to verify that flash scripting is working:
<http://www.adobe.com/support/flash/ts/documents/java_script_comm/javascript_to_flash.html?sendText=test>
so the flashplayer.xpt is registered and working.
![]() |
Reporter | |
Comment 1•19 years ago
|
||
Additional information:
Shockwave Flash
File name: NPSWF32.dll
Shockwave Flash 8.0 r24
Problem is trunk only. Current nightly builds for SeaMonkey 1.0.x and Firefox 1.5.0.x do not exihibit this problem.
Comment 2•19 years ago
|
||
This regressed between 2006-04-25 and 2006-04-26:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-04-25+06&maxdate=2006-04-26+06&cvsroot=%2Fcvsroot
Maybe regression from the "Scary" trunk patch in bug 326931?
I don't get this bug with an embed:
http://wargers.org/mozilla/bug338630/mazda-test_embed.html
Only with an iframe:
http://wargers.org/mozilla/bug338630/mazda-test_iframe.html
Flags: blocking1.9a1?
Updated•19 years ago
|
Flags: blocking1.9a1? → blocking1.9a1+
![]() |
||
Comment 3•19 years ago
|
||
So... I can't seem to reproduce this on Linux, since the Flash I have seems to have no working scripting, per end of comment 0. I certainly never get this message. :(
I doubt the box object patch would cause this, but then again I see nothing in the checkin range that _would_ cause this... :( Could someone who can reproduce this try backing our the box object patch? And maybe bug 335333?
![]() |
Reporter | |
Comment 4•19 years ago
|
||
> So... I can't seem to reproduce this on Linux, since the Flash I have seems
> to have no working scripting, per end of comment 0. I certainly never get
> this message.
Is flashplayer.xpt present in your plugins directory?
![]() |
||
Comment 5•19 years ago
|
||
Yes.
Flags: blocking1.9+
Keywords: regression
Flags: blocking1.9a1+
Whiteboard: [blocking1.9a1+]
![]() |
Reporter | |
Comment 6•18 years ago
|
||
Vladimir, the blocking flag should be minused (I think)
With the latest minefield (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061102 Minefield/3.0a1) and the latest Flashblock this error does not occur.
With my test case:
<http://bugzilla.mozdev.org/attachment.cgi?id=3667&action=view>
I get the following error:
Error: uncaught exception: Permission denied to call method Location.toString
Which is bug 313115
With martijn's test case:
<http://wargers.org/mozilla/bug338630/mazda-test_iframe.html>
I don't get any errors.
The difference is that martijn has a <head></head>
So this bug is either WORKSFORME or should be duped to bug 313115
Flags: blocking1.9+ → blocking1.9?
Whiteboard: [blocking1.9a1+]
is the problem here just that you're seeing an error? Or is the flash errorously not working when it used to before?
If this is just about seeing an error then this is not a blocker. Otherwise please renominate
Flags: blocking1.9? → blocking1.9-
![]() |
||
Comment 8•18 years ago
|
||
The problem is that calling the plug-in's methods throws instead of doing what it should do.
Flags: blocking1.9- → blocking1.9?
Jst says that the problem bz's seeing is unrelated to this bug since the flash player version that uses .xpt files and all that doesn't use NPObjects at all.
Minusing per this and comment 6. If someone still sees this please renominate.
Flags: blocking1.9? → blocking1.9-
Comment 10•18 years ago
|
||
Marking this WORKSFORME per comment #6.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•