gecko-dev/js/public/friend
Jan de Mooij 3b9d3acec8 Bug 1914895 - Make Symbol.unscopables support optional for non-syntactic with-environments. r=arai
In D220213 we tried to change `Symbol.unscopables` so that it's only supported on
syntactic `with` environments (for performance reasons). This failed some WPT tests
for event handlers because they use non-syntactic with-environments but have to
support `Symbol.unscopables`.

This patch adds a `JS::EnvironmentChain` class and uses it instead of an object vector
for some JS APIs. This class also lets the embedder specify whether `Symbol.unscopables`
must be supported. The `evaluate` shell function now has an option for this too.

Differential Revision: https://phabricator.services.mozilla.com/D226139
2024-10-21 17:56:43 +00:00
..
DOMProxy.h
DumpFunctions.h
ErrorMessages.h
ErrorNumbers.msg Bug 1920282 - Part 1: Make the execution tracing ang the code coverage mutualy exclusive. r=jandem 2024-10-17 01:21:13 +00:00
JSMEnvironment.h Bug 1914895 - Make Symbol.unscopables support optional for non-syntactic with-environments. r=arai 2024-10-21 17:56:43 +00:00
PerformanceHint.h
StackLimits.h
UsageStatistics.h Bug 1914660 - Remove subclassing telemetry r=yulia 2024-09-19 16:08:38 +00:00
WindowProxy.h
XrayJitInfo.h