Iframe JavaScript objects not accessible from external scripts

RESOLVED INVALID

Status

()

Core
General
--
major
RESOLVED INVALID
12 years ago
8 years ago

People

(Reporter: bht237, Unassigned)

Tracking

({testcase})

1.8 Branch
x86
All
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
Scripts in iframes can call functions in external scripts.

But an attempt by a script in the enclosing page to call a function in an iframe fails.

What can be done so that iframe scripts get the same capabilities as scripts in frameset frames?
(Reporter)

Comment 1

12 years ago
Created attachment 239485 [details]
iframe content
(Reporter)

Comment 2

12 years ago
Created attachment 239486 [details]
Test case - Click on this!
(Reporter)

Updated

12 years ago
Keywords: testcase
(Reporter)

Comment 3

12 years ago
Additional information:

http://www.w3.org/TR/html4/present/frames.html#sharing-frame-data

"Sharing data among frames 

Authors may share data among several frames by including this data via an OBJECT element."

I have tried this with the OBJECT tag - same negative result. IFRAME and OBJECT: Only tag attributes such as name, or document properties are accessible.

It is understood that the OBJECT tag can be used as a replacement for the IFRAME tag. Because of this, in the interim, I am not creating a duplicate bug record for the behavior of the OBJECT tag.
Severity: normal → major
Component: General → General
Product: Firefox → Core
QA Contact: general → general
Version: 1.5.0.x Branch → 1.8 Branch
(Reporter)

Comment 4

8 years ago
Error in testcase
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.