mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
3b9d3acec8
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 |
||
---|---|---|
.. | ||
DOMProxy.h | ||
DumpFunctions.h | ||
ErrorMessages.h | ||
ErrorNumbers.msg | ||
JSMEnvironment.h | ||
PerformanceHint.h | ||
StackLimits.h | ||
UsageStatistics.h | ||
WindowProxy.h | ||
XrayJitInfo.h |