Closed Bug 1680 Opened 26 years ago Closed 26 years ago

crash trying to bring up a window

Categories

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

x86
Windows NT
defect

Tracking

()

CLOSED WORKSFORME

People

(Reporter: kipp, Assigned: vidur)

Details

The following HTML causes a crash: --CUT HERE-- <HTML> <HEAD> <STYLE type="text/css"> </STYLE> <SCRIPT> var logWindow; function log(msg) { if (null == logWindow) { logWindow = window.open("logindex.html",'tCw','width=500,height=200'); } var doc = logWindow.document; var text = doc.createTextNode(msg); // var br = createBreak(null); doc.appendChild(text); // doc.appendChild(br); } function runAllTests() { log("Here we go..."); log("Task Complete <beep>."); } </SCRIPT> </HEAD> <BODY ONLOAD="runAllTests();"> </BODY> </HTML>
Status: NEW → ASSIGNED
Haven't had a chance to debug this yet, but it's probably a DUP of the bug that relates to the fact that a document isn't created at the same time as a new window.
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 4015 → 4616
QA contact re-assigned according to the product areas we're currently working on.
Component: DOM Level 1 → DOM Level 0
Component updated to DOM Level 0.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
The window.open works fine. The text doesn't display because it's being appended to the document and not the document.body.
Status: RESOLVED → CLOSED
Closing this bug since there are no crashes while bringing up the window, and there are other bugs for window.open not working. This is working for viewer, but its not opening window in apprunner. Marking this bug as closed.
You need to log in before you can comment on or make changes to this bug.