Closed
Bug 34902
Opened 25 years ago
Closed 25 years ago
crash selecting OPTION in SELECT menu dynamically created and appendChild-ed during document load
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
People
(Reporter: myk, Assigned: rods)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
Overview Description:
In a SELECT menu created and added to the document body via JavaScript and the
DOM methods while the document is still being loaded, selecting the second
option causes the browser to crash. I am attaching a test case demonstrating
this problem.
Actual Results:
browser crashes
Expected Results:
browser selects option
Build Date & Platform Bug Found:
Linux 2000-04-06-08
Additional Builds and Platforms Tested On:
Linux M14, on which this problem does not occur.
Additional Information:
Bug 34893 is based on the same code snippet, and a remark has been made in that
bug that JavaScript code that runs while the page is being loaded should not be
allowed to modify the document body (except perhaps via document.write).
Perhaps the problem here is just allowing an illegal operation, and the solution
is to throw an error on any attempt to modify the DOM tree via appendChild while
the document is still loading.
Reporter | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
Usually, I don't object to having each issue have its own bug, but this is
really the same bug as 34893. 34893 is so messed up that this issue will go away
when that is fixed.
*** This bug has been marked as a duplicate of 34893 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•24 years ago
|
||
Looks like the same bug all right. It works for me when the other one does and
fails when the other one fails. Verifying.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•