RESOLVED FIXED 198842
Move Synthetic Editing Commands to behind an experimental feature flag
https://bugs.webkit.org/show_bug.cgi?id=198842
Summary Move Synthetic Editing Commands to behind an experimental feature flag
Megan Gardner
Reported 2019-06-13 13:42:58 PDT
Move Synthetic Editing Commands to behind an experimental feature flag
Attachments
Patch (11.91 KB, patch)
2019-06-13 13:48 PDT, Megan Gardner
no flags
Patch (14.59 KB, patch)
2019-06-13 16:26 PDT, Megan Gardner
no flags
Patch (14.08 KB, patch)
2019-06-13 17:35 PDT, Megan Gardner
no flags
Patch for landing (14.08 KB, patch)
2019-06-14 13:17 PDT, Megan Gardner
no flags
Megan Gardner
Comment 1 2019-06-13 13:48:01 PDT
Megan Gardner
Comment 2 2019-06-13 13:48:41 PDT
Simon Fraser (smfr)
Comment 3 2019-06-13 14:03:46 PDT
Comment on attachment 372077 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372077&action=review > Source/WebCore/page/RuntimeEnabledFeatures.h:188 > + void setSyntheticEditingCommandsEnabled(bool isEnabled) { m_syntheticEditingCommandsEnabled = isEnabled; } > + bool syntheticEditingCommandsEnabled() const { return m_syntheticEditingCommandsEnabled; } Should this be Setting instead?
Ryosuke Niwa
Comment 4 2019-06-13 14:04:47 PDT
Comment on attachment 372077 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372077&action=review >> Source/WebCore/page/RuntimeEnabledFeatures.h:188 >> + bool syntheticEditingCommandsEnabled() const { return m_syntheticEditingCommandsEnabled; } > > Should this be Setting instead? Probably. There is no reason this needs to be enabled across the process.
Megan Gardner
Comment 5 2019-06-13 16:26:49 PDT
Simon Fraser (smfr)
Comment 6 2019-06-13 16:34:21 PDT
Comment on attachment 372081 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372081&action=review Now this is a setting, you can write tests for it (if we have the plumbing). > Source/WebKitLegacy/mac/WebView/WebView.mm:3165 > + RuntimeEnabledFeatures::sharedFeatures().setSyntheticEditingCommandsEnabled([preferences syntheticEditingCommandsEnabled]); Nope!
Megan Gardner
Comment 7 2019-06-13 17:35:30 PDT
Megan Gardner
Comment 8 2019-06-14 13:17:37 PDT
Created attachment 372137 [details] Patch for landing
WebKit Commit Bot
Comment 9 2019-06-14 14:00:20 PDT
Comment on attachment 372137 [details] Patch for landing Clearing flags on attachment: 372137 Committed r246444: <https://trac.webkit.org/changeset/246444>
WebKit Commit Bot
Comment 10 2019-06-14 14:00:21 PDT
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.