Bug 45409 - text/plain documents that start with \n trigger ASSERT
Summary: text/plain documents that start with \n trigger ASSERT
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 12:34 PDT by Adam Barth
Modified: 2010-09-08 17:19 PDT (History)
1 user (show)

See Also:


Attachments
Patch (3.58 KB, patch)
2010-09-08 12:36 PDT, Adam Barth
eric: review+
eric: commit-queue+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2010-09-08 12:34:26 PDT
text/plain documents that start with \n trigger ASSERT
Comment 1 Adam Barth 2010-09-08 12:36:58 PDT
Created attachment 66929 [details]
Patch
Comment 2 Eric Seidel (no email) 2010-09-08 13:05:29 PDT
Comment on attachment 66929 [details]
Patch

OK.
Comment 3 Alexey Proskuryakov 2010-09-08 17:06:48 PDT
+            // PAINTEXTState and ignore m_skipLeadingNewLineForListing.

PAINTEXTState!
Comment 4 Adam Barth 2010-09-08 17:13:11 PDT
Freudian slip?
Comment 5 Adam Barth 2010-09-08 17:19:08 PDT
Committed r67041: <http://trac.webkit.org/changeset/67041>