Closed Bug 368169 Opened 18 years ago Closed 18 years ago

Crash with empty TBODY and multiple table body sections

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 367749

People

(Reporter: dsmutil, Unassigned)

Details

(Keywords: crash, regression, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070123 SeaMonkey/1.5a
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070123 SeaMonkey/1.5a

In SeaMonkey trunk nightly 20070123, the browser crashes if it encounters a file with an empty TBODY tag if there's any cells defined elsewhere in the table.

I've only tested this with file:/// URLs but will attach my testcase.

Reproducible: Always

Steps to Reproduce:
See attached file.



This occurs whether there's multiple table bodies:
<table>
<tbody><tr><td>1</td></tr></tbody>
<tbody><tr><td>2</td></tr></tbody>
</table>

Or a single one, as long as at least one of the bodies is empty (<tbody></tbody>).
Attached file Testcase
Whiteboard: testcase
Submitted Talkback incident TB28687107M
Assignee: mrbkap → nobody
Component: HTML: Parser → Layout: Tables
QA Contact: parser → layout.tables
I get the same stack as bug 368013, and applying the patch from bug 367749
fixes it.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Whiteboard: testcase
Great. Thanks for checking it.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: