Граф коммитов

100 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Cheng-Hao Huang d92508901d Bug 1828144 - Part 1: add pref symbols-as-weakmap-keys. r=jonco,sfink
Differential Revision: https://phabricator.services.mozilla.com/D190125
2023-11-02 12:32:15 +00:00
Tom Schuster 5ef6bee795 Bug 1857488 - Add the RTPCallerType to JS realms. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D190676
2023-10-26 17:49:00 +00:00
Iulian Moraru b68697c09d Backed out 3 changesets (bug 1857488) for causing valgrind bustages related to Fingerprinting. CLOSED TREE
Backed out changeset f2961f6ece1f (bug 1857488)
Backed out changeset df299aac1633 (bug 1857488)
Backed out changeset b640c254626e (bug 1857488)
2023-10-23 19:32:13 +03:00
Tom Schuster f926403e5b Bug 1857488 - Add the RTPCallerType to JS realms. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D190676
2023-10-23 14:06:03 +00:00
Tom Schuster 0e373b271f Bug 1792650 - Enable Object.groupBy and Map.groupBy by default. r=spidermonkey-reviewers,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D188229
2023-09-15 18:11:14 +00:00
Butkovits Atila c30eaaa537 Backed out 2 changesets (bug 1792650) for causing failures at test_xrayToJS.xhtml. CLOSED TREE
Backed out changeset be325dcc5de7 (bug 1792650)
Backed out changeset cb89bc7df1c9 (bug 1792650)
2023-09-15 01:19:53 +03:00
Tom Schuster 963859e2b6 Bug 1792650 - Enable Object.groupBy and Map.groupBy by default. r=spidermonkey-reviewers,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D188229
2023-09-14 20:38:08 +00:00
Tom Schuster 3fe3a9321d Bug 1846224 - Add a JavaScript per-realm locale override. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D184944
2023-09-08 19:24:44 +00:00
Yoshi Cheng-Hao Huang ca92b6788a Bug 1850755 - Part 1: Turn on well-formed-unicode-strings by default in Browser and JS Shell. r=spidermonkey-reviewers,jandem
Well-Formed Unicode strings is in TC39 Stage 4 and has been merged into
ECMA262 spec,
https://github.com/tc39/ecma262/pull/3039

Differential Revision: https://phabricator.services.mozilla.com/D187182
2023-09-08 17:10:50 +00:00
Iulian Moraru dd918f58bd Backed out 5 changesets (bug 1846224, bug 1845940) for causing spidermonkey build bustages on TestingUtility.cpp. CLOSED TREE
Backed out changeset fc9692101130 (bug 1846224)
Backed out changeset 61486ba55cae (bug 1846224)
Backed out changeset a85aaad7d2f8 (bug 1846224)
Backed out changeset e90bc9bc5729 (bug 1846224)
Backed out changeset 38262976d922 (bug 1845940)
2023-09-08 17:13:44 +03:00
Tom Schuster 847fe59347 Bug 1846224 - Add a JavaScript per-realm locale override. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D184944
2023-09-08 13:38:11 +00:00
Iulian Moraru 3614741dfe Backed out 3 changesets (bug 1850755) for causing jsreftest failures on well-formed.js. CLOSED TREE
Backed out changeset 40e6ebb21fef (bug 1850755)
Backed out changeset a69e473af87e (bug 1850755)
Backed out changeset 5a0171dba079 (bug 1850755)
2023-09-08 12:52:15 +03:00
Yoshi Cheng-Hao Huang e1dd3942ec Bug 1850755 - Part 1: Turn on well-formed-unicode-strings by default in Browser and JS Shell. r=spidermonkey-reviewers,jandem
Well-Formed Unicode strings is in TC39 Stage 4 and has been merged into
ECMA262 spec,
https://github.com/tc39/ecma262/pull/3039

Differential Revision: https://phabricator.services.mozilla.com/D187182
2023-09-08 08:54:09 +00:00
Butkovits Atila 104bd0f208 Backed out 3 changesets (bug 1850755) for causing SM bustages complaing about xulRuntime.shell. CLOSED TREE
Backed out changeset 6c632ec74ee0 (bug 1850755)
Backed out changeset cd202b5a63ea (bug 1850755)
Backed out changeset a2d5b721e236 (bug 1850755)
2023-09-07 11:31:37 +03:00
Yoshi Cheng-Hao Huang fa82b83de2 Bug 1850755 - Turn on well-formed-unicode-strings by default in Browser and JS Shell. r=spidermonkey-reviewers,jandem
Well-Formed Unicode strings is in TC39 Stage 4 and has been merged into
ECMA262 spec,
https://github.com/tc39/ecma262/pull/3039

Differential Revision: https://phabricator.services.mozilla.com/D187182
2023-09-07 07:57:59 +00:00
André Bargull 1c322c9bf3 Bug 1809662 - Part 1: Enable new Set methods by default on Nightly. r=dminor
The proposal is now on stage 3, so it can be enabled by default on Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D182673
2023-08-04 09:43:04 +00:00
Matthew Gaudet e05414cbab Bug 1843935 - Remove From Async command-line option and preference r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D183915
2023-07-31 21:50:41 +00:00
Matthew Gaudet 10e05143b8 Bug 1826643 - Remove Change-Array-By-Copy preferences and command line switches r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D183913
2023-07-31 21:50:40 +00:00
André Bargull a91b04b9b9 Bug 1841113 - Part 1: Add pref for ArrayBuffer.prototype.transfer(). r=spidermonkey-reviewers,jandem
Differential Revision: https://phabricator.services.mozilla.com/D182479
2023-07-07 13:07:56 +00:00
Tom Schuster ca61e81327 Bug 1834744 - Split up RealmBehaviors::shouldResistFingerprinting in js/src. r=spidermonkey-reviewers,jandem
Differential Revision: https://phabricator.services.mozilla.com/D179534
2023-06-07 10:52:30 +00:00
Matthew Gaudet a44cb33492 Bug 1795816 - Ship Array.fromAsync r=arai,peterv
Differential Revision: https://phabricator.services.mozilla.com/D178482
2023-05-26 19:16:36 +00:00
Tim Chevalier 64b1488006 Bug 1811057 - Ship Change Array by Copy Feature r=mgaudet,devtools-reviewers,peterv CLOSED TREE
Set the `--enable-change-array-by-copy` shell flag and the
`javascript.options.experimental.enable_change_array_by_copy` pref to true
by default in all builds.

Remove the `--enable-change-array-by-copy` build flag from `js/moz.configure`
and make all code previously guarded by `#ifdef ENABLE_CHANGE_ARRAY_BY_COPY`
compile unconditionally.

Remove `change-array-by-copy` from testing build configurations (non262
and jit-test tests are no longer guarded with
`getBuildConfiguration()['change-array-by-copy']`

Remove all code from test config files that sets
`javascript.options.experimental.enable_change_array_by_copy`; only
`StaticPrefList.yaml` should set this pref.

Fix non262 unscopables test that apparently wasn't running before to use
the correct names for change-array-by-copy methods

Remove the `TypedArray` property from `gPrototypeProperties` in
`test_xrayToJS.xhtml`, as this property was written but never read.

Differential Revision: https://phabricator.services.mozilla.com/D174699
2023-05-25 21:25:13 +00:00
Cristian Tuns 1bdbc86b4f Backed out changeset f49b182be8f3 (bug 1811057) for causing conflicts with merge back, will reland. 2023-05-25 20:34:44 -04:00
Tim Chevalier fb0c2b49ca Bug 1811057 - Ship Change Array by Copy Feature r=mgaudet,devtools-reviewers,peterv
Set the `--enable-change-array-by-copy` shell flag and the
`javascript.options.experimental.enable_change_array_by_copy` pref to true
by default in all builds.

Remove the `--enable-change-array-by-copy` build flag from `js/moz.configure`
and make all code previously guarded by `#ifdef ENABLE_CHANGE_ARRAY_BY_COPY`
compile unconditionally.

Remove `change-array-by-copy` from testing build configurations (non262
and jit-test tests are no longer guarded with
`getBuildConfiguration()['change-array-by-copy']`

Remove all code from test config files that sets
`javascript.options.experimental.enable_change_array_by_copy`; only
`StaticPrefList.yaml` should set this pref.

Fix non262 unscopables test that apparently wasn't running before to use
the correct names for change-array-by-copy methods

Remove the `TypedArray` property from `gPrototypeProperties` in
`test_xrayToJS.xhtml`, as this property was written but never read.

Differential Revision: https://phabricator.services.mozilla.com/D174699
2023-05-25 21:25:13 +00:00
Butkovits Atila 2250cee76d Backed out 3 changesets (bug 1795816, bug 1833946) for causing failures at from_async.js. CLOSED TREE
Backed out changeset c717912156f5 (bug 1795816)
Backed out changeset 7c2aa1e8b112 (bug 1795816)
Backed out changeset d99d41fd6d86 (bug 1833946)
2023-05-25 18:03:23 +03:00
Matthew Gaudet 2c85996683 Bug 1795816 - Ship Array.fromAsync r=arai,peterv
Differential Revision: https://phabricator.services.mozilla.com/D178482
2023-05-25 13:16:39 +00:00
Sandor Molnar 9851fc3f10 Backed out changeset cb6db65172c6 (bug 1811057) for causing browser-time failures. CLOSED TREE 2023-05-24 09:14:11 +03:00
Tim Chevalier d62299d426 Bug 1811057 - Ship Change Array by Copy Feature r=mgaudet,devtools-reviewers,peterv
Set the `--enable-change-array-by-copy` shell flag and the
`javascript.options.experimental.enable_change_array_by_copy` pref to true
by default in all builds.

Remove the `--enable-change-array-by-copy` build flag from `js/moz.configure`
and make all code previously guarded by `#ifdef ENABLE_CHANGE_ARRAY_BY_COPY`
compile unconditionally.

Remove `change-array-by-copy` from testing build configurations (non262
and jit-test tests are no longer guarded with
`getBuildConfiguration()['change-array-by-copy']`

Remove all code from test config files that sets
`javascript.options.experimental.enable_change_array_by_copy`; only
`StaticPrefList.yaml` should set this pref.

Fix non262 unscopables test that apparently wasn't running before to use
the correct names for change-array-by-copy methods

Remove the `TypedArray` property from `gPrototypeProperties` in
`test_xrayToJS.xhtml`, as this property was written but never read.

Differential Revision: https://phabricator.services.mozilla.com/D174699
2023-05-23 22:01:18 +00:00
Iulian Moraru 0c63be14bc Backed out 3 changesets (bug 1795816, bug 1833946) for causing multiple failures on test_xrayToJS.xhtml.
Backed out changeset 25ce4c12dfca (bug 1795816)
Backed out changeset a05698163bc8 (bug 1795816)
Backed out changeset 70e3ee0a0312 (bug 1833946)
2023-05-24 01:48:01 +03:00
Matthew Gaudet f55b9c08a6 Bug 1795816 - Ship Array.fromAsync r=arai
Differential Revision: https://phabricator.services.mozilla.com/D178482
2023-05-23 15:23:04 +00:00
Yoshi Cheng-Hao Huang 26ea5adff6 Bug 1825005 - Part 1: Add pref for well-formed-unicode-strings. r=arai
Currently the pref is only available in nightly build, and is off by
default.

Differential Revision: https://phabricator.services.mozilla.com/D176995
2023-05-08 18:16:27 +00:00
Matthew Gaudet bac07a6e25 Bug 1825754 - Make the Array.fromAsync RealmCreationOption available on non-nightly builds r=bthrall
As we are starting to get ready to let this ride the trains, there's no need
to ensure this is restricted to nightly (and it has shipped in Safari TP)

Differential Revision: https://phabricator.services.mozilla.com/D174325
2023-04-03 19:36:01 +00:00
Tom Ritter 8a09ac74f7 Bug 1778510: Add a ShouldResistFingerprinting flag to JS RealmOptions r=jandem
This will allow us to invoke the Timer Precision callback with this
boolean.

Differential Revision: https://phabricator.services.mozilla.com/D151283
2022-11-29 13:34:13 +00:00
Butkovits Atila cb853b7f77 Backed out 33 changesets (bug 1778510) for causing build bustages at nsIGlobalObject.h. CLOSED TREE
Backed out changeset f2a53c9e497c
Backed out changeset 59350ca6f3f2 (bug 1778510)
Backed out changeset abbba7e72b57 (bug 1778510)
Backed out changeset 6cf7473afae8 (bug 1778510)
Backed out changeset 74fb5fed93ea (bug 1778510)
Backed out changeset 5b5dc70cdd0a (bug 1778510)
Backed out changeset ff93191cafd2 (bug 1778510)
Backed out changeset 39cc006b610c (bug 1778510)
Backed out changeset dfaef3ad17a9 (bug 1778510)
Backed out changeset 8fbabeb8244b (bug 1778510)
Backed out changeset 45051b62e3f1 (bug 1778510)
Backed out changeset 86c0923fd81f (bug 1778510)
Backed out changeset a49c0f69d519 (bug 1778510)
Backed out changeset cfad733d4aaf (bug 1778510)
Backed out changeset df6d0fe89d5b (bug 1778510)
Backed out changeset 704db76eab17 (bug 1778510)
Backed out changeset 0651c128e369 (bug 1778510)
Backed out changeset 1e650de647c0 (bug 1778510)
Backed out changeset fa15a3572741 (bug 1778510)
Backed out changeset 4ceffd409eae (bug 1778510)
Backed out changeset 47db43142c62 (bug 1778510)
Backed out changeset ebb21153aaac (bug 1778510)
Backed out changeset a87eaaec3f9c (bug 1778510)
Backed out changeset 43ad5ee21f79 (bug 1778510)
Backed out changeset 5f20af8e1263 (bug 1778510)
Backed out changeset b78576875db0 (bug 1778510)
Backed out changeset d801fdeac90b (bug 1778510)
Backed out changeset 5af032c628c0 (bug 1778510)
Backed out changeset 86aa59de11b4 (bug 1778510)
Backed out changeset 58642357a19c (bug 1778510)
Backed out changeset c575e824e291 (bug 1778510)
Backed out changeset 32a358de4843 (bug 1778510)
Backed out changeset 40e0708c01e7 (bug 1778510)
2022-11-28 23:14:52 +02:00
Tom Ritter 9a30f46f1e Bug 1778510: Add a ShouldResistFingerprinting flag to JS RealmOptions r=jandem
This will allow us to invoke the Timer Precision callback with this
boolean.

Differential Revision: https://phabricator.services.mozilla.com/D151283
2022-11-28 18:04:05 +00:00
Cosmin Sabou d245f666b9 Backed out 33 changesets (bug 1778510) for causing bp-hybrid bustages on nsIPrincipal.h. CLOSED TREE
Backed out changeset 282f589ede4a
Backed out changeset e23d03ba5a89 (bug 1778510)
Backed out changeset cbdb34cf7c8d (bug 1778510)
Backed out changeset d9a54521f3fb (bug 1778510)
Backed out changeset f5b7f8ce38b0 (bug 1778510)
Backed out changeset eb64607765a9 (bug 1778510)
Backed out changeset 18291e692834 (bug 1778510)
Backed out changeset bb71cc94a8be (bug 1778510)
Backed out changeset 507e84e1dafe (bug 1778510)
Backed out changeset 6d42e7a083ac (bug 1778510)
Backed out changeset 53799e6a46dd (bug 1778510)
Backed out changeset ff20d709839a (bug 1778510)
Backed out changeset 328d4d2df591 (bug 1778510)
Backed out changeset 9ba44fd8a440 (bug 1778510)
Backed out changeset eb1b7e30e519 (bug 1778510)
Backed out changeset c0927de6153b (bug 1778510)
Backed out changeset 02a306acd093 (bug 1778510)
Backed out changeset 2c5eecc4ad4c (bug 1778510)
Backed out changeset 38a9f45c9621 (bug 1778510)
Backed out changeset 35b7c7df62ce (bug 1778510)
Backed out changeset 187d71f42593 (bug 1778510)
Backed out changeset 450f4ccd6cd0 (bug 1778510)
Backed out changeset 915149e27da0 (bug 1778510)
Backed out changeset 9c6e85369f15 (bug 1778510)
Backed out changeset c6a9fe0ce713 (bug 1778510)
Backed out changeset a2f00462157e (bug 1778510)
Backed out changeset 5278e40b80c3 (bug 1778510)
Backed out changeset dba220581d93 (bug 1778510)
Backed out changeset 17a63044b0dc (bug 1778510)
Backed out changeset 68d607aaa121 (bug 1778510)
Backed out changeset e93004f91f6f (bug 1778510)
Backed out changeset 41d6d9f889e1 (bug 1778510)
Backed out changeset 28ac62019086 (bug 1778510)
2022-11-28 07:34:46 +02:00
Tom Ritter ac31ffb679 Bug 1778510: Add a ShouldResistFingerprinting flag to JS RealmOptions r=jandem
This will allow us to invoke the Timer Precision callback with this
boolean.

Differential Revision: https://phabricator.services.mozilla.com/D151283
2022-11-28 04:21:25 +00:00
Yulia Startsev 90c9e66373 Bug 1799619 - Disable array grouping by default on nightly; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D161567
2022-11-09 09:24:14 +00:00
Matthew Gaudet 1b10d789e4 Bug 1795452 - Add shell option to enable/disable Array.fromAsync r=arai
Differential Revision: https://phabricator.services.mozilla.com/D159643
2022-10-24 19:19:01 +00:00
Matthew Gaudet 4852cc8cc4 Bug 1795914 - Remove JS Streams implementation r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D159610
2022-10-24 16:05:58 +00:00
Matthew Gaudet 25a3c8f591 Bug 1792720 - Make JS Streams a MOZCONFIG opt in r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D158281
2022-10-05 17:21:34 +00:00
Cristian Tuns 15e6663754 Backed out changeset 41ef8be74785 (bug 1792720) for causing spidermonkey bustages on Iteration.cpp CLOSED TREE 2022-10-05 12:12:41 -04:00
Matthew Gaudet 24fec6f9c0 Bug 1792720 - Make JS Streams a MOZCONFIG opt in r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D158281
2022-10-05 15:40:36 +00:00
André Bargull 9356c66e38 Bug 1783703 - Part 2: Change-Array-By-Copy flag should be a RealmCreationOptions. r=mgaudet
Built-ins are created when the realm is created (at least according to the spec),
so it should be a RealmCreationOptions.

Differential Revision: https://phabricator.services.mozilla.com/D153983
2022-08-09 09:50:29 +00:00
Dan Minor c48e5ac0e0 Bug 1775026 - Ship Array.{findLast,findLastIndex}; r=yulia
This removes the pref and options for findLast and findLastIndex so that
they are shipped by default.

Differential Revision: https://phabricator.services.mozilla.com/D150633
2022-07-13 16:39:30 +00:00
Matthew Gaudet 3c9ac3d334 Bug 1767525 - Implement (under a flag) ShadowRealm constructor and evaluate function. r=jandem
Shell only, without HostInitializeShadowRealm, nor importValue

Differential Revision: https://phabricator.services.mozilla.com/D146236
2022-06-28 22:04:16 +00:00
Csoregi Natalia a6c7516d80 Backed out 9 changesets (bug 1747059, bug 1767525)for causing hazard failures on ShadowRealmGlobalScope.cpp. CLOSED TREE
Backed out changeset ed7aad37f2cf (bug 1747059)
Backed out changeset 40a257fb4788 (bug 1747059)
Backed out changeset f7b049ef3b8c (bug 1747059)
Backed out changeset aad38abc7139 (bug 1747059)
Backed out changeset 8115813e77a5 (bug 1747059)
Backed out changeset e06192e664fd (bug 1747059)
Backed out changeset a198b0893220 (bug 1767525)
Backed out changeset c083f0824619 (bug 1767525)
Backed out changeset 9a3bf794ec6d (bug 1767525)
2022-06-28 02:39:08 +03:00
Matthew Gaudet 139929cd67 Bug 1767525 - Implement (under a flag) ShadowRealm constructor and evaluate function. r=jandem
Shell only, without HostInitializeShadowRealm, nor importValue

Differential Revision: https://phabricator.services.mozilla.com/D146236
2022-06-27 21:17:34 +00:00
Iain Ireland 3e97bbc3df Bug 1704385: Add pref for Array.findLast r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D148330
2022-06-16 22:01:06 +00:00
Jan de Mooij 7e3b98347d Bug 1771084 part 2 - Add Realm option to freeze builtins. r=tcampbell,nika
Differential Revision: https://phabricator.services.mozilla.com/D147281
2022-06-07 15:40:44 +00:00