Closed Bug 51281 Opened 25 years ago Closed 25 years ago

Cann not access to the frame in dynamically generated frameset

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 22681
mozilla0.9

People

(Reporter: zhuravok, Assigned: pollmann)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) BuildID: 2000083008 When frameset is dynamically generaed (documnet.write("<html>...</html>")) then when trying to access to the frames of this frameset - nothing happens - any frames of frameset can not be accessed and Error appears in JavaScript console Error: uncaught exception: [Exception... "Failure" code: "-2147467259" nsresult...... etc. I think that it will be better when I a user can copy error message in the clipboard in such cases. Reproducible: Always Steps to Reproduce: 1. generate using document.write frameset which contains at least two frames - both frames should have SRC="about:blank" 2. try to access to any frame right after generation using for example frames [0].document. if access to frame will be deffered (for example by using setTimeOut function) then access to the frame will be successfull. Expected Results: Access to the frame in the dynamically generated frameset should working right after document.close() routine.
Reporter: Could you produce an attachment with the code that causes this error for us?
this might has something to do with bug 35253
I can reproduce with Sept 19th build (2000091904).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Dont know if this relates, but the same exception seems to happen, if one frame contains a signed jar file which accesses attributes or methods from the second. UniversalBrowserRead is always granted, btw. From my personal point of view, thats a dogfood feature, as we heavily depend on that.
Sorry, forgot to mention that it once worked with M17 but not any more with M18 and NS6PR3.
Set milestone to mozilla0.9
Target Milestone: --- → mozilla0.9
This is the same issue as addressed in bug 22681 - the document object is not attached to the window until the page has finished loading. *** This bug has been marked as a duplicate of 22681 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
QA Contact update
QA Contact: petersen → amar
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: