mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

We never reach `CompileFetchedModule` if we have an unknown module type since we take the module type into account when we do mime type checking, so the file always fails to load because of MIME mismatch, and we don't get the expected `TypeError.` Checking if we have an unknown type should happen much earlier in the process. Differential Revision: https://phabricator.services.mozilla.com/D222222