Summary: | Assertion failure when opening a file with a missing tag closing bracket | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> | ||||
Component: | New Bugs | Assignee: | Said Abou-Hallawa <sabouhallawa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | buildbot, cdumez, commit-queue, darin, esprehn+autocc, gyuyoung.kim, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Said Abou-Hallawa
2017-08-29 11:31:21 PDT
The bug here is in HTMLTokenizer::commitToPartialEndTag, which calls SegmentedString ::advancePastNonNewline, but instead it needs to call SegmentedString::advance. That's all it will take to fix this; just call advance instead of advancePastNonNewline. Created attachment 319313 [details]
Patch
Comment on attachment 319313 [details] Patch Clearing flags on attachment: 319313 Committed r221335: <http://trac.webkit.org/changeset/221335> All reviewed patches have been landed. Closing bug. |