Bug 109240

Summary: Fix TextDocumentParser to play nice with threading
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: Eric Seidel (no email) <eric>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, buildbot, dglazkov, ojan.autocc, rniwa, tonyg, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 106127    
Attachments:
Description Flags
Patch
none
Patch for landing
none
Patch for landing
none
Patch for landing none

Description Eric Seidel (no email) 2013-02-07 16:20:34 PST
Fix TextDocumentParser to play nice with threading
Comment 1 Eric Seidel (no email) 2013-02-07 16:23:45 PST
Created attachment 187195 [details]
Patch
Comment 2 Adam Barth 2013-02-07 16:28:29 PST
I'm not 100% sure that the line number change isn't detectable, but this approach is much cleaner.
Comment 3 Eric Seidel (no email) 2013-02-07 16:30:40 PST
This only affects the column number, and only on the first line.

But I don't think the line numbers during TextDocument parsing are ever used by the rest of WebCore, even in the inspector.
Comment 4 Build Bot 2013-02-07 16:58:25 PST
Comment on attachment 187195 [details]
Patch

Attachment 187195 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://queues.webkit.org/results/16434391

New failing tests:
fast/tokenizer/text-plain.html
http/tests/security/xss-DENIED-mime-type-execute-as-html.html
http/tests/misc/acid3.html
Comment 5 Eric Seidel (no email) 2013-02-07 17:27:45 PST
Created attachment 187207 [details]
Patch for landing
Comment 6 WebKit Review Bot 2013-02-07 18:33:38 PST
Comment on attachment 187207 [details]
Patch for landing

Attachment 187207 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/16438419

New failing tests:
fast/text/plain-text-line-breaks.html
fast/forms/targeted-frame-submission.html
fast/loader/text-document-wrapping.html
Comment 7 Build Bot 2013-02-07 18:58:15 PST
Comment on attachment 187207 [details]
Patch for landing

Attachment 187207 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/16448010

New failing tests:
fast/text/plain-text-line-breaks.html
fast/forms/targeted-frame-submission.html
http/tests/misc/acid3.html
fast/loader/text-document-wrapping.html
Comment 8 Adam Barth 2013-02-08 10:47:20 PST
*** Bug 107330 has been marked as a duplicate of this bug. ***
Comment 9 Eric Seidel (no email) 2013-02-08 11:00:49 PST
Created attachment 187338 [details]
Patch for landing
Comment 10 Adam Barth 2013-02-08 11:31:16 PST
Comment on attachment 187338 [details]
Patch for landing

This conflicts with the WeakPtr patch.  I'll merge manually.
Comment 11 Adam Barth 2013-02-08 11:35:50 PST
Created attachment 187342 [details]
Patch for landing
Comment 12 WebKit Review Bot 2013-02-09 09:53:56 PST
Comment on attachment 187342 [details]
Patch for landing

Clearing flags on attachment: 187342

Committed r142363: <http://trac.webkit.org/changeset/142363>
Comment 13 WebKit Review Bot 2013-02-09 09:54:00 PST
All reviewed patches have been landed.  Closing bug.