Closed
Bug 502091
Opened 15 years ago
Closed 15 years ago
[HTML5] Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: hsivonen)
References
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(3 files, 1 obsolete file)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
See testcase, which crashes in current trunk build when you have the html5.enable pref set to true.
http://crash-stats.mozilla.com/report/index/e7e913f7-e4e4-41d6-a2b1-43c4f2090702
0 xul.dll nsContentSink::ProcessHeaderData content/base/src/nsContentSink.cpp:531
1 xul.dll nsContentSink::ProcessMETATag content/base/src/nsContentSink.cpp:810
2 xul.dll xul.dll@0x9a7adf
Assignee | ||
Comment 1•15 years ago
|
||
nsContentSink wasn't initialized properly in the fragment case. The patch initializes it in ParseFragment() to make sure it's initialized every time the fragment parsing code runs.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attachment #386712 -
Flags: superreview?(mrbkap)
Attachment #386712 -
Flags: review?(jonas)
Comment 3•15 years ago
|
||
I'm seeing this crash in Minefield build 20090707043451 when I'm editing text in a field @ http://su.pr.
http://crash-stats.mozilla.com/report/index/c21b9026-261d-4164-a7cd-adf812090708
http://crash-stats.mozilla.com/report/index/d9debddf-b20e-493f-9342-d64db2090708
Comment 5•15 years ago
|
||
Firefox is crashing for me too, when using hotmail.
http://crash-stats.mozilla.com/report/index/82b1940b-6472-44dc-b91d-425512090710
http://crash-stats.mozilla.com/report/index/9e6bf7cc-ef44-4ecb-a2c0-b20d32090710
http://crash-stats.mozilla.com/report/index/8ddc647b-b62a-4fd0-9269-7d5dd2090710
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090710 Minefield/3.6a1pre ID:20090710044907
Attachment #386712 -
Flags: superreview?(mrbkap)
Attachment #386712 -
Flags: superreview+
Attachment #386712 -
Flags: review?(jonas)
Attachment #386712 -
Flags: review+
Need tests too though.
Assignee | ||
Updated•15 years ago
|
Summary: Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML → [HTML5] Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML
Assignee | ||
Comment 8•15 years ago
|
||
Thanks. Pushed fix without test in order to avoid having testers seeing a known crash. I didn't forget the test.
http://hg.mozilla.org/mozilla-central/rev/439de76c5cc8
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Comment 9•15 years ago
|
||
Here's a test case for this; passes on trunk with html5.enable=true.
Attachment #391478 -
Flags: review?(hsivonen)
Comment 10•15 years ago
|
||
Update to original test which resets html5.enable to its original value at the end of the test.
Attachment #391478 -
Attachment is obsolete: true
Attachment #391679 -
Flags: review?(hsivonen)
Attachment #391478 -
Flags: review?(hsivonen)
Assignee | ||
Updated•15 years ago
|
Attachment #391679 -
Flags: review?(hsivonen) → review+
Comment 11•15 years ago
|
||
Pushed test as http://hg.mozilla.org/mozilla-central/rev/e32bae21e7a2
Updated•15 years ago
|
Flags: in-testsuite? → in-testsuite+
Assignee | ||
Updated•15 years ago
|
Updated•13 years ago
|
Crash Signature: [@ nsContentSink::ProcessHeaderData]
You need to log in
before you can comment on or make changes to this bug.
Description
•