<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 5, 2016, at 6:13 AM, Michael Catanzaro <<a href="mailto:mcatanzaro@igalia.com" class="">mcatanzaro@igalia.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class=""><br class="">We discovered that several experimental features are currently enabled<br class="">by default:<br class=""><br class=""><a href="https://bugs.webkit.org/show_bug.cgi?id=164367" class="">https://bugs.webkit.org/show_bug.cgi?id=164367</a><br class="">...</div></blockquote><blockquote type="cite" class=""><div class=""><div class="">These features are not ready to be default, or they<b class=""> wouldn't be listed as experimental. </b></div></div></blockquote><div><br class=""></div>This has come up in Apple, where some people assume that the fact they're called "Experimental" features means they are still under heavy development or in some way unstable or potentially harmful.</div><div><br class=""></div><div>I don't believe that is actually the case.</div><div><br class=""></div><div>Ignoring the name for a moment, the _WKExperimentalFeature API really does precisely two things:</div><div>1 - Exposes an enumerable set of runtime-enablable features.</div><div>2 - Exposes an API to turn each of them on or off.</div><div><br class=""></div><div>That's it.</div><div><br class=""></div><div><div>For a long time we've had "runtime enabled features" in the project with no way to expose them as an enumerable set to the API client.</div></div><div>The API was named "Experimental" feature, I think, because at first only "under heavy development" features that were not ready to be enabled at runtime adopted the mechanism.</div><div><br class=""></div><div>I think the API wasn't named properly for how it was destined to be used, as there was a clear need for an API that presents many "non-experimental" runtime enabled features to the client.</div><div>But in reality, many other long standing runtime-enabled features could (and in my opinion *should*) be under the same mechanism.</div><div><br class=""></div><div>I know some engineers have expressed the opinion that once a runtime feature is stable enough to be turned on by default then it should no longer be "experimental" and should be removed from the set of experimental features.</div><div>But other engineers (myself included) see this set of features as "an enumerable list of runtime features that can easily be turned on and off"</div><div><br class=""></div><div>Whether or not a feature is on by default, there is significant value in having this enumerable list of runtime features.</div><div>A feature might be deemed stable enough to enabled by default but it's extremely useful for a user to quickly be able to *disable* it at runtime to see if it has broken a website, or for a dev to quickly and easily test site behavior with it enabled or disabled.</div><div><br class=""></div><div>Additionally, it commonly makes sense for a feature to be enabled by default in WebKit trunk but then *disabled* by default in a branch.</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div class="">They should be enabled by Safari if they're desired there.<br class=""></div></div></blockquote><div><br class=""></div><div>The ones that have been deemed fit to be "enabled by default" for testing should be on by default for testing in places other than Safari, such as MiniBrowser and 3rd party WebKit apps.</div><div><br class=""></div><div><blockquote type="cite" class="">It looks like the change was made to avoid needing to enable the<br class="">features manually in Safari Tech Preview, but of course this is bad for<br class="">all the non-Safari WebKit ports which surely do not want experimental<br class="">features enabled by default.<br class=""></blockquote><div><br class=""></div>As mentioned above, it's not only Safari that wants these on by default.</div><div><br class=""></div><div>However, I definitely agree that different ports have different concerns - e.g. What Apple might want enabled by default in its port, GTK might not.</div><div><br class=""><blockquote type="cite" class="">Can we fix the WebKit project defaults please?</blockquote><br class=""></div><div>I strongly object to reverting all _WKExperimentalFeatures to "off by default"</div><div><br class=""></div><div>I strong support adding port-specific defaults.</div><div><br class=""></div><div>As a different conversation, I also support renaming the API to something that doesn't impart the baggage of an "under development" or "unstable" feature.</div><div><br class=""></div><div>Thanks,</div><div>~Brady</div><div><br class=""></div></div></body></html>