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

UNCONFIRMED
Unassigned

Status

()

--
major
UNCONFIRMED
8 years ago
5 years ago

People

(Reporter: harsh24x7, Unassigned)

Tracking

4.0 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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.

Updated

8 years ago
Version: unspecified → 4.0 Branch
You need to log in before you can comment on or make changes to this bug.