Closed
Bug 304065
Opened 20 years ago
Closed 19 years ago
Not return document with a IFRAME with contentDocument
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: egonpin, Unassigned)
Details
Attachments
(1 file)
588 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Create a IFRAME and acces to the document with "contentDocument" with
Javascript, the command failled.
Reproducible: Sometimes
Steps to Reproduce:
1. var iframe = document.createElement('IFRAME');
iframe.src = "/blank.php";
document.body.appendChild.appendChild( iframe );
container = iframe;
2. var doc = (jsrsBrowser == "IE" ) ? container.document :
container.contentDocument;
3. alert(doc);
Actual Results:
null
Expected Results:
[object HTMKDocument]
Comment 1•20 years ago
|
||
This testcase works fine for me current SeaMonkey/Firefox builds, I also tried
Mozilla 1.7.8 and worked fine there too.
Comment 2•20 years ago
|
||
Reporter, does the testcase work for you? If it works, could you please attach
a testcase or URL where you can reproduce the problem?
Severity: critical → normal
Component: OS Integration → General
QA Contact: os.integration → general
Comment 3•19 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051015
Firefox/1.4.1 as well with attached testcase. Reporter, if it doesn't work for
you with 1.5 beta, please attach a testcase here and reopen the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•