mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

For enumerateNames on Xrays, throw an OOM exception upfront. This matches what we do inside the JS engine when enumerating large typed arrays. Differential Revision: https://phabricator.services.mozilla.com/D103902