Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1333)

Unified Diff: Source/core/page/RuntimeEnabledFeatures.in

Issue 15018018: Autogenerate lists of "stable", "experimental" and "test" features from RuntimeEnabledFeatures.in (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ready for review Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/core/scripts/in_file.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/RuntimeEnabledFeatures.in
diff --git a/Source/core/page/RuntimeEnabledFeatures.in b/Source/core/page/RuntimeEnabledFeatures.in
index ede7b92a7a3eced9ff8ff955a57ba39f36a9ee57..44e4552d954475c1b7b9f39a3d3022347ce7bc43 100644
--- a/Source/core/page/RuntimeEnabledFeatures.in
+++ b/Source/core/page/RuntimeEnabledFeatures.in
@@ -2,54 +2,66 @@
// a class that stores static enablers for all experimental features. Note that
// the method names must line up with the JavaScript method they enable for code
// generation to work properly.
+//
+// Each feature can be assigned a "status":
+// status=stable -> Enable this in all Blink configurations. We are committed to these APIs indefinitely.
+// status=experimental -> In-progress features, Web Developers might play with, but are not on by default in stable.
+// status=test -> Enabled in ContentShell for testing, otherwise off.
+// Features without a status are not enabled anywhere by default.
+//
+// "stable" features listed here should be rare, as anything which we've shipped stable
+// can have its runtime flag removed soon after.
+//
+// condition=ENABLE_NAME is used for wrapping features in compile-time
+// #if ENABLE(FEATURE) guards. These are deprecated and should all be removed.
-ApplicationCache
+ApplicationCache status=stable
AuthorShadowDOMForAnyElement
-CSSCompositing condition=CSS_COMPOSITING
-CSSExclusions
-CSSRegions
-CanvasPath
-CustomDOMElements
-Database
+CanvasPath status=test
+CSSCompositing condition=CSS_COMPOSITING, status=experimental
+CSSExclusions status=experimental
+CSSRegions status=experimental
+CustomDOMElements status=experimental
+Database status=stable
DeviceMotion
-DeviceOrientation
-DialogElement
-DirectoryUpload
-EncryptedMedia condition=ENCRYPTED_MEDIA
-ExperimentalCanvasFeatures
-ExperimentalContentSecurityPolicyFeatures
-ExperimentalShadowDOM
+DeviceOrientation status=stable
+DialogElement status=experimental
+DirectoryUpload status=stable
+EncryptedMedia condition=ENCRYPTED_MEDIA, status=stable
+ExperimentalCanvasFeatures status=test
+ExperimentalContentSecurityPolicyFeatures status=experimental
+ExperimentalShadowDOM status=test
ExperimentalWebSocket
-FileSystem
-FontLoadEvents
-Fullscreen
-Gamepad
-Geolocation
+FileSystem status=stable
+FontLoadEvents status=experimental
+Fullscreen status=stable
+Gamepad status=stable
+Geolocation status=stable
IMEAPI
-IndexedDB
-InputTypeDateTime condition=INPUT_TYPE_DATETIME_INCOMPLETE
-InputTypeWeek
-JavaScriptI18NAPI condition=JAVASCRIPT_I18N_API
+IndexedDB status=stable
+InputTypeDateTime condition=INPUT_TYPE_DATETIME_INCOMPLETE, status=test
+InputTypeWeek status=stable
+JavaScriptI18NAPI condition=JAVASCRIPT_I18N_API, status=stable
LangAttributeAwareFormControlUI
LazyLayout
-LocalStorage
+LocalStorage status=stable
Media custom
-MediaSource
-MediaStream
-Notifications
-PeerConnection depends_on=MediaStream
-Quota
-RequestAutocomplete
-ScriptedSpeech
-SeamlessIFrames
-SessionStorage
+MediaSource status=stable
+MediaStream status=stable
+Notifications status=stable
+PeerConnection depends_on=MediaStream, status=stable
+Quota status=stable
+RequestAutocomplete status=test
+ScriptedSpeech status=stable
+SeamlessIFrames status=experimental
+SessionStorage status=stable
SharedWorker custom
-SpeechInput
+SpeechInput status=stable
SpeechSynthesis
-StyleScoped
-Touch
-VideoTrack
+StyleScoped status=experimental
+Touch status=stable
+VideoTrack status=stable
WebAnimation
-WebAudio condition=WEB_AUDIO
-WebMIDI
+WebAudio condition=WEB_AUDIO, status=stable
+WebMIDI status=test
WebPInAcceptHeader
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/core/scripts/in_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698