Bug 100710

Summary: ENABLE(NEW_XML) isn't used by anyone and no one is actively working on it
Product: WebKit Reporter: Adam Barth <abarth>
Component: New BugsAssignee: Adam Barth <abarth>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, eric, mark.lam, mifenton, mjs, ojan.autocc, rniwa, rwlbuis, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 107522    
Attachments:
Description Flags
Patch
none
Patch for landing
none
Patch for landing none

Description Adam Barth 2012-10-29 16:22:44 PDT
ENABLE(NEW_XML) isn't used by anyone and no one is actively working on it
Comment 1 Adam Barth 2012-10-29 16:25:03 PDT
Created attachment 171333 [details]
Patch
Comment 2 Maciej Stachowiak 2012-10-30 01:24:40 PDT
Last time we discussed this on webkit-dev, the conclusion was:

"There's no urgency in removing it.  If you're serious about working on
it, perhaps we should keep it around for another six months."

<http://lists.webkit.org/pipermail/webkit-dev/2012-August/022088.html>

Has something changed to make it more urgent to remove this code faster?
Comment 3 Adam Barth 2012-10-30 09:40:03 PDT
Oh, I didn't realize that was the conclusion of the thread.  I'm happy to wait until the end of February to remove this code.
Comment 4 Maciej Stachowiak 2012-10-30 09:57:12 PDT
(In reply to comment #3)
> Oh, I didn't realize that was the conclusion of the thread.  I'm happy to wait until the end of February to remove this code.

I'd assumed it was your conclusion and did not comment further because it seemed like a fine approach.
Comment 5 Maciej Stachowiak 2013-01-17 18:00:49 PST
I'm fine with doing this now and not waiting til February.
Comment 6 Maciej Stachowiak 2013-01-17 18:01:09 PST
Reopening based on previous comment.
Comment 7 Eric Seidel (no email) 2013-01-17 22:55:14 PST
Comment on attachment 171333 [details]
Patch

Wow.  So much code.  This is obviously only the added files, and none of the abstractions which make the HTML parser so ugly. ;(
Comment 8 Maciej Stachowiak 2013-01-17 23:20:09 PST
(In reply to comment #7)
> (From update of attachment 171333 [details])
> Wow.  So much code.  This is obviously only the added files, and none of the abstractions which make the HTML parser so ugly. ;(

Note that a number of these abstractions are used by WebVTT too, so let's not be too hasty in getting rid of them.
Comment 9 Adam Barth 2013-01-17 23:25:35 PST
> Note that a number of these abstractions are used by WebVTT too, so let's not be too hasty in getting rid of them.

Yes, we'll need to refactor the VTT parser a bit as we continue to untangle things.  The good news is that the VTT parser doesn't really require all this machinery.  We just used it because it was convenient at the time.
Comment 10 Adam Barth 2013-01-21 23:55:33 PST
Created attachment 183901 [details]
Patch for landing
Comment 11 Build Bot 2013-01-21 23:59:00 PST
Comment on attachment 183901 [details]
Patch for landing

Attachment 183901 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/16031463
Comment 12 EFL EWS Bot 2013-01-22 00:06:46 PST
Comment on attachment 183901 [details]
Patch for landing

Attachment 183901 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/16036443
Comment 13 Adam Barth 2013-01-22 00:09:04 PST
Created attachment 183906 [details]
Patch for landing
Comment 14 WebKit Review Bot 2013-01-22 00:58:36 PST
Comment on attachment 183906 [details]
Patch for landing

Rejecting attachment 183906 [details] from commit-queue.

New failing tests:
fast/forms/formmethod-attribute-input-html.html
Full output: http://queues.webkit.org/results/16045425
Comment 15 WebKit Review Bot 2013-01-22 01:17:49 PST
Comment on attachment 183906 [details]
Patch for landing

Clearing flags on attachment: 183906

Committed r140399: <http://trac.webkit.org/changeset/140399>
Comment 16 WebKit Review Bot 2013-01-22 01:17:54 PST
All reviewed patches have been landed.  Closing bug.
Comment 17 Mark Lam 2013-01-22 03:39:00 PST
r140399: <http://trac.webkit.org/changeset/140399> broke mac builds (depending on the environment set up on the bot).  See:
http://build.webkit.org/builders/Apple%20Lion%20Debug%20%28Build%29/builds/10816

The breakage is due to a change in the path for finding CharacterReferenceParserInlines.h in the Xcode project file.  The entry for CharacterReferenceParserInlines.h  was removed and readied with a different path that cause the breakage.  I'm now doing a local build to verify the fix (i.e. to restore the path before the change in  r140399).  Once verified, I'll land it to green the bots.
Comment 18 Mark Lam 2013-01-22 04:13:48 PST
Build breakage fix landed in r140410: <http://trac.webkit.org/changeset/140410>.
Comment 19 Adam Barth 2013-01-22 09:40:46 PST
Sorry about the breakage.  I must have messed up the xcodeproj file when I was trying to remove these files.  Thanks for fixing my mess...
Comment 20 Eric Seidel (no email) 2013-01-22 11:16:02 PST
Thank you Mark.