Bug 1803984 - Add assertion that we only remove unlinked modules from the map r=allst...
commitc4161d1f6c3e1f87ce158d9f13c0041e034ab2d7
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 26 May 2023 12:22:54 +0000 (26 12:22 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 26 May 2023 12:22:54 +0000 (26 12:22 +0000)
tree8edee1633de3d4b9d906eac123750b083ff62d7e
parentb32c4961427dc3bbc4bfd0864a0a93f63a72f426
Bug 1803984 - Add assertion that we only remove unlinked modules from the map r=allstarschh

It would not be correct to remove modules that were already linked or evaluated.

Depends on D178298

Differential Revision: https://phabricator.services.mozilla.com/D178787
js/loader/ModuleLoaderBase.cpp
js/loader/ModuleLoaderBase.h
js/public/Modules.h
js/src/vm/Modules.cpp