Bug 1708235 - Enable Private Fields Preference by default r=yulia,robwu

Differential Revision: https://phabricator.services.mozilla.com/D113704
This commit is contained in:
Matthew Gaudet 2021-04-30 16:00:19 +00:00
Родитель 0ca5861ca2
Коммит af595692c6
5 изменённых файлов: 6 добавлений и 13 удалений

Просмотреть файл

@ -32,6 +32,5 @@ user_pref("browser.webapps.checkForUpdates", 0);
user_pref("javascript.options.weakrefs", true);
user_pref("javascript.options.experimental.weakrefs.expose_cleanupSome", true);
user_pref("javascript.options.experimental.iterator_helpers", true);
user_pref("javascript.options.experimental.private_fields", true);
user_pref("javascript.options.experimental.top_level_await", true);
user_pref("javascript.options.experimental.ergonomic_brand_checks", true);

Просмотреть файл

@ -32,7 +32,6 @@ support-files =
!/js/xpconnect/tests/mochitest/file_evalInSandbox.html
!/js/xpconnect/tests/mochitest/file_xrayic.html
prefs =
javascript.options.experimental.private_fields=true
javascript.options.large_arraybuffers=true
javascript.options.experimental.ergonomic_brand_checks=true

Просмотреть файл

@ -41,7 +41,6 @@ support-files =
bug1681664_helper.js
prefs =
javascript.options.weakrefs=true
javascript.options.experimental.private_fields=true
javascript.options.experimental.ergonomic_brand_checks=true
javascript.options.experimental.top_level_await=true

Просмотреть файл

@ -5661,12 +5661,6 @@
value: false
mirror: always
# Experimental support for Private Fields in JavaScript.
- name: javascript.options.experimental.private_fields
type: bool
value: false
mirror: always
# Experimental support for Private Methods in JavaScript.
- name: javascript.options.experimental.private_methods
type: bool
@ -5674,6 +5668,12 @@
mirror: always
#endif // NIGHTLY_BUILD
# Support for Private Fields in JavaScript.
- name: javascript.options.experimental.private_fields
type: bool
value: true
mirror: always
# Experimental support for the ergonomic brand check proposal.
- name: javascript.options.experimental.ergonomic_brand_checks
type: bool

Просмотреть файл

@ -1,7 +1,3 @@
[DEFAULT]
prefs =
javascript.options.experimental.private_fields=true
[test_ext_i18n.js]
skip-if = os == "android" || (os == "win" && debug) || (os == "linux")
[test_ext_i18n_css.js]