Closed
Bug 730427
Opened 12 years ago
Closed 8 years ago
javascript cannot access from within IFRAME to parent document javascript after IFRAME refresh
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: kubica.ivan, Unassigned)
Details
(Keywords: testcase-wanted)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0 Build ID: 20120129021758 Steps to reproduce: I am programming a LMS system that user SCORM objects. Using JQuery I load the SCORM HTML into the <DIV> and display it. The SCORM objects are loaded in the iframe [iframeA] within a <DIV>. The content of iframeA is HTML page with other iframeB. There are javascripts in iframeB, that looks up standard SCORM javascript functions located in iframeA. (this is common implementation of SCORM standards) Funtions in iframeA are used to initiallize SCORM package and display it to user, sends result back to server etc. Actual results: When I close the <DIV> and reopen it and resfresh the iframeA (or load different SCORM html) the javascript functions in iframeB cannot communicate with javascript functions in iframeA. Although it works perfect for the first time. Expected results: it should always work fine does not matter if I refresh iframeA or load different SCORM content. it works in other browsers (tested in IE, Chrome, Opera) I noticed this issue long time ago in other FF versions too.
Comment 1•12 years ago
|
||
Please provide a public URL or reduced test case that exhibits this issue.
Comment 2•10 years ago
|
||
mod, could you provide a testcase, please?
Component: Untriaged → DOM
Flags: needinfo?(kubica.ivan)
Keywords: testcase-wanted
Product: Firefox → Core
Comment 3•8 years ago
|
||
Considering the fact that the reporter did not provided more information on Aleksej and Tim requests, I will mark this issue as resolved - incomplete. If you can still reproduce this, feel free to reopen this bug and provide the requested information. Thanks, Cosmin.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(kubica.ivan)
Resolution: --- → INCOMPLETE
This happened to me. I got a "Unable to access attribute hide" error on the console, where "hide" is a Javascript function in the parent page. I'm not sure of the exact error message, as it now works. Reloading Firefox fixed the problem.
Comment 5•8 years ago
|
||
Hi Moses, Could you please provide a reduced test case, where this issue is reproducible (https://goo.gl/cGyf0U)? Also, can you please test this on the latest Nightly (https://nightly.mozilla.org/) and tell me if this still reproduces for you ? When doing this please use a new fresh Firefox profile, maybe also in safe mode (https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems). Thanks, Cosmin.
Flags: needinfo?(moses)
Updated•8 years ago
|
Flags: needinfo?(moses)
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•