Remove obsolete deprecated status for REF generator script.
BUG=534429
Review URL: https://codereview.chromium.org/1362703003
git-svn-id: svn://svn.chromium.org/blink/trunk@202663 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/Source/build/scripts/audit_runtime_enabled_features.py b/Source/build/scripts/audit_runtime_enabled_features.py
index 9380940..fcd318f 100755
--- a/Source/build/scripts/audit_runtime_enabled_features.py
+++ b/Source/build/scripts/audit_runtime_enabled_features.py
@@ -25,7 +25,7 @@
def parse_features_file(features_text):
valid_values = {
- 'status': ['stable', 'experimental', 'deprecated', 'test'],
+ 'status': ['stable', 'experimental', 'test'],
}
defaults = {
'condition': None,
diff --git a/Source/build/scripts/make_runtime_features.py b/Source/build/scripts/make_runtime_features.py
index 20a119a..cea5b3d 100755
--- a/Source/build/scripts/make_runtime_features.py
+++ b/Source/build/scripts/make_runtime_features.py
@@ -43,7 +43,7 @@
# FIXME: valid_values and defaults should probably roll into one object.
valid_values = {
- 'status': ['stable', 'experimental', 'test', 'deprecated'],
+ 'status': ['stable', 'experimental', 'test'],
}
defaults = {
'condition': None,
@@ -53,10 +53,6 @@
'status': None,
}
- _status_aliases = {
- 'deprecated': 'test',
- }
-
def __init__(self, in_file_path):
super(RuntimeFeatureWriter, self).__init__(in_file_path)
self._outputs = {(self.class_name + '.h'): self.generate_header,
@@ -67,7 +63,6 @@
# Make sure the resulting dictionaries have all the keys we expect.
for feature in self._features:
feature['first_lowered_name'] = lower_first(feature['name'])
- feature['status'] = self._status_aliases.get(feature['status'], feature['status'])
# Most features just check their isFooEnabled bool
# but some depend on or are implied by other bools.
enabled_condition = 'is%sEnabled' % feature['name']
@@ -82,7 +77,7 @@
def _feature_sets(self):
# Another way to think of the status levels is as "sets of features"
# which is how we're referring to them in this generator.
- return [status for status in self.valid_values['status'] if status not in self._status_aliases]
+ return list(self.valid_values['status'])
@template_expander.use_jinja(class_name + '.h.tmpl', filters=filters)
def generate_header(self):
diff --git a/Source/platform/RuntimeEnabledFeatures.in b/Source/platform/RuntimeEnabledFeatures.in
index d30045a..63aa34e 100644
--- a/Source/platform/RuntimeEnabledFeatures.in
+++ b/Source/platform/RuntimeEnabledFeatures.in
@@ -7,7 +7,6 @@
// 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.
-// status=deprecated -> Alias for "test", will be removed at some point.
// Features without a status are not enabled anywhere by default.
//
// "implied_by" or "depends_on" specifies relationship to other features:
@@ -126,7 +125,7 @@
PermissionsRequestRevoke status=experimental
PointerEvent
PreciseMemoryInfo
-PrefixedEncryptedMedia status=deprecated
+PrefixedEncryptedMedia status=test
// This feature is deprecated and we are evangelizing affected sites.
// See https://crbug.com/346236 for current status.
PrefixedVideoFullscreen status=stable