Closed Bug 648365 Opened 13 years ago Closed 3 years ago

Cross domain access to flash plugin now broken (worked fine in latest 3.6 version)

Categories

(Firefox :: General, defect)

4.0 Branch
x86
Windows 7
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: harsh24x7, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0

Using a frameset in domain1.domain.com accessing externalinterface exposed by flash movie in domain2.domain.com causes a problem (all pages have document.domain set properly and were working for all in FF 3.x prior to installing 4.0).

In the frameset page on domain1 use javascript to do the following:
top.<frameName>.document.embeds["flashMovie"].exposedMethod("value");

SWF never receives call and Firebug give the following error:
Error: Bad NPObject as private data!



There is a workaround to this issue which isn't a very good solution to the problem:
Using the frameset page on domain1 use javascript to call the following:
top.<frameName>.eval("document.embeds['flashMovie'].exposedMethod('vlue')");



Reproducible: Always

Steps to Reproduce:
1.frameset in domain1 access externalInterface in Javascript exposed by movie located in domain2
2.flash never receives call and get an error in the debug information
3.
Actual Results:  
Error: Bad NPObject as private data!




Expected Results:  
Flash movie should receive the function call.
Version: unspecified → 4.0 Branch

We're in the process of removing support for plugins (bug 1677160), so I think this bug is irrelevant now.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.