NEW 33649
Wrong code in LayoutTests/fast/dom/timer-clear-interval-in-handler-and-generate-error.html
https://bugs.webkit.org/show_bug.cgi?id=33649
Summary Wrong code in LayoutTests/fast/dom/timer-clear-interval-in-handler-and-genera...
Kent Tamura
Reported 2010-01-13 21:32:09 PST
timer-clear-interval-in-handler-and-generate-error.html added by Bug#27703 has wrong code: | function log(msg) { | var elmt = document.createElement("div"); | elmt.textContent = msg; | document.body.appendChild(msg); Probably the last line should be "document.body.appendChild(elmt);".
Attachments
Kent Tamura
Comment 1 2010-01-13 21:34:30 PST
(In reply to comment #0) > | function log(msg) { > | var elmt = document.createElement("div"); > | elmt.textContent = msg; > | document.body.appendChild(msg); > > Probably the last line should be "document.body.appendChild(elmt);". If the code is corrected to it, the test shows simply "PASS" because document.body exists at that time. Is it intended result?
Note You need to log in before you can comment on or make changes to this bug.