RESOLVED FIXED 167279
Convert langAttributeAwareFormControlUIEnabled to a Setting
https://bugs.webkit.org/show_bug.cgi?id=167279
Summary Convert langAttributeAwareFormControlUIEnabled to a Setting
Joseph Pecoraro
Reported 2017-01-20 21:52:45 PST
Convert langAttributeAwareFormControlUIEnabled to a Setting. - This doesn't fit the normal qualifications for a RuntimeEnabledFeature. - It can be an autogenerated Setting.
Attachments
[PATCH] Proposed Fix (8.45 KB, patch)
2017-01-20 21:54 PST, Joseph Pecoraro
joepeck: review-
[PATCH] Proposed Fix (8.47 KB, patch)
2017-01-22 22:35 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2017-01-20 21:54:33 PST
Created attachment 299424 [details] [PATCH] Proposed Fix
Darin Adler
Comment 2 2017-01-21 13:57:33 PST
Comment on attachment 299424 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=299424&action=review > Source/WebCore/html/HTMLInputElement.cpp:2038 > + Settings* settings = document.settings(); Needs to be document() rather than document.
Joseph Pecoraro
Comment 3 2017-01-22 22:32:24 PST
Comment on attachment 299424 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=299424&action=review >> Source/WebCore/html/HTMLInputElement.cpp:2038 >> + Settings* settings = document.settings(); > > Needs to be document() rather than document. Wow, thats embarrassing =O
Joseph Pecoraro
Comment 4 2017-01-22 22:35:48 PST
Created attachment 299502 [details] [PATCH] Proposed Fix
Sam Weinig
Comment 5 2017-01-23 13:01:42 PST
Comment on attachment 299502 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=299502&action=review Very nice! I long to see the death of RuntimeEnabledFeatures! Perhaps it deserves a rename to DeprecatedRuntimeEnabledFeatures as per our custom. > Source/WebCore/html/HTMLInputElement.cpp:2039 > + Settings* settings = document().settings(); > + if (!settings || !settings->langAttributeAwareFormControlUIEnabled()) It might be time to consider giving Document a Settings Ref<>.
WebKit Commit Bot
Comment 6 2017-01-23 13:17:35 PST
Comment on attachment 299502 [details] [PATCH] Proposed Fix Clearing flags on attachment: 299502 Committed r211055: <http://trac.webkit.org/changeset/211055>
WebKit Commit Bot
Comment 7 2017-01-23 13:17:40 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.