Closed Bug 99956 Opened 23 years ago Closed 4 years ago

body.appendChild(H1) fails to display text from constructor

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
Linux
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: hattons, Unassigned)

Details

(Whiteboard: DUPEME)

Attachments

(6 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4+) Gecko/20010916 BuildID: 2001091606 When a window is opened by a constructor and a <H1> element is appended to the body, the text is not displayed. Certain factors can influence this behavior, please see attached code. Reproducible: Always Steps to Reproduce: 1. instantiate an object with a window.open in the constructor 2. within the same constructor create and append a <H1> element to the body 3. please see sample code Actual Results: No text is displayed in the newly opened window Expected Results: The header should be displayed From my perspective this bug is of the same nature as: 98530. It may again be my fault. If this behavior is deemed correct, then I will contend there is a lack of good documentation detailing what I _should_ expect, and the bug should be listed as a documentation bug.
NOTE WELL: There is a comma in the function WinTest3(, ) of the first attachment which needs to be removed. Sorry about the meta-bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thanks to Martin Honnen, *the* world renounded JavaScript expert, it has been demonstrated that the problem does not exist when the URL parameter is an empty string. I attached a demo page for this. See: 49792. I don't know if I can reduce the importance of the bug myself, but I believe this is a much more acceptable resolution than the setTimeout() workaround. I will lower the priority to minor if I find that I am able to. If not, someone with the authority to do so, please do this. I still think there is a problem. If nothing else, it should be a footnote in the documentation.
Severity: major → minor
Mass-reassigning bugs to dom_bugs@netscape.com
Assignee: jst → dom_bugs
Dup of the general 'window.open is async' deal.
Whiteboard: DUPEME
Assignee: general → nobody
QA Contact: desale → general
Bug is relevant, chrome bug does not manifest itself.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: