WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
68765
Remove ENABLE(FTPDIR) and associated code
https://bugs.webkit.org/show_bug.cgi?id=68765
Summary
Remove ENABLE(FTPDIR) and associated code
Adam Barth
Reported
2011-09-24 13:46:33 PDT
Remove ENABLE(FTPDIR) and associated code
Attachments
Patch
(122.60 KB, patch)
2011-09-24 13:50 PDT
,
Adam Barth
mrowe
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2011-09-24 13:50:14 PDT
Created
attachment 108588
[details]
Patch
Mark Rowe (bdash)
Comment 2
2011-09-24 13:58:00 PDT
Why is this being removed given that it’s enabled and used by Safari on Windows?
Adam Barth
Comment 3
2011-09-24 14:01:59 PDT
> Why is this being removed given that it’s enabled and used by Safari on Windows?
Perhaps I misunderstood Platform.h. This block of code makes it look like it is enabled only for PLATFORM(IOS):
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/wtf/Platform.h#L572
Can you show me how to tell it is enabled on PLATFORM(WIN) so that I can avoid this sort of mistake in the future?
Mark Rowe (bdash)
Comment 4
2011-09-24 14:02:48 PDT
791 #if !defined(ENABLE_FTPDIR) 792 #define ENABLE_FTPDIR 1 793 #endif
Adam Barth
Comment 5
2011-09-24 14:04:04 PDT
Thanks. To be clear, are you asking for this code to be keep or just asking why I've posted this patch to remove it?
Mark Rowe (bdash)
Comment 6
2011-09-24 14:05:07 PDT
Comment on
attachment 108588
[details]
Patch Please don’t remove code that other ports are actively using.
Mark Rowe (bdash)
Comment 7
2011-09-24 14:05:18 PDT
Is that clearer?
Adam Barth
Comment 8
2011-09-24 14:08:39 PDT
> Is that clearer?
Yes. Thank you. Please consider replying to this message on webkit-dev if there are other ENABLE macros slated for removal that you believe we should not remove:
http://www.mail-archive.com/webkit-dev@lists.webkit.org/msg16428.html
Alternatively, please feel encouraged to comment on this document, which contains updates based on the webkit-dev discussion:
https://docs.google.com/document/d/1MVbOTYkZxTj071-ZQI7Lsh7CdZJhS2_1OdU4bjYuaKA/edit?hl=en_US
Mark Rowe (bdash)
Comment 9
2011-09-24 14:10:29 PDT
Please consider double-checking your work before you propose deleting code that other people are using.
Adam Barth
Comment 10
2011-09-24 14:17:16 PDT
> Please consider double-checking your work before you propose deleting code that other people are using.
As part of this process, we are removing code that other folks are using. For example, there were even folks using WML before we removed it. That's why these changes are being discussed on webkit-dev and in these bug threads before they happen. In any case, my goal here is not to make any controversial changes. Thanks for providing feedback at this stage of the process. The earlier in the process that you're able to provide feedback, the more efficient it is for the project as a whole.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug