Closed
Bug 295553
Opened 20 years ago
Closed 17 years ago
JavaScript call from Flash Movie (over liveconnect) causes XMLHttpRequest to fail on open
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: tjpotter, Unassigned)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 I have an eLearning application that has a frameset containing 2 frames. In one frame, I have some JavaScript that uses XMLHttpRequest object to communicate with my server. In another frame, I have a Flash movie that uses the swLiveConnect (ActionScript to JavaScript bridge) to interact with JavaScript. Whenever the Flash is loaded and calls a function that uses the XMLHttpRequest using FSCOMMAND, the following error occurs: Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/kworks/javascript/escorte4js.js :: eSCORTE4JS_sendRequest :: line 1250" data: no Note that this does not occur with IE and the JavaScript that uses XMLHttpRequest works fine in FireFox if just plain HTML/JavaScript is loaded in the other frame. It's only when Flash Player is involved that I experience the crash when calling open() on the XMLHttpRequest object. Happens with Netscape 7.2 as well. Any ideas? Note: My Flash Player version is 7.0.19 Reproducible: Always Steps to Reproduce: 1. Login to http://209.101.99.68/lacmta/home.jsp (username: admin, password: OP32401708) that's an Oh, not a zero 2. Add the eSCORTE4AS2 Demo ... course (Add Course > Register) 3. Launch it in FireFox ... on the menu, choose the last item titled "eSCORTE4AS2 for SCORM 2004 Demo SCO" 4. Watch it blow up ... Actual Results: Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/kworks/javascript/escorte4js.js :: eSCORTE4JS_sendRequest :: line 1250" data: no Expected Results: Opened a connection to the server and received XML. Again, if Flash is not involved, just HTML and JavaScript, then XMLHttpRequest works great ... so it's not my code ;-)
Comment 1•19 years ago
|
||
tim, any chance of a URL that shows the bug? That should make debugging this much more feasible...
Summary: JavaScript call from Flash Movie (over liveconnect) causes XMLHttpRequest to fail on open → JavaScript call from Flash Movie (over liveconnect) causes XMLHttpRequest to fail on open
Comment 2•17 years ago
|
||
bz, suspect reporter is gone
Comment 3•17 years ago
|
||
Very possible, yes.... Resolving incomplete until we have more information.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•