gecko-dev/js/loader
Jon Coppeard 3e69adc940 Bug 1777450 - Separate error messages for module resulution failure when the specifier might be bare r=allstarschh,flod
This fixes the original case by adding an extra error reason which is used when
the specifier could be bare and and only warning about relative URLs in this
case.

The same problem happens with import maps enable where "./foo.js" produces an
error about it being a bare specifier, which it's not. For that case make
ParseURLLikeImportSpecifier return a ResolveResult and use the same approach.

Differential Revision: https://phabricator.services.mozilla.com/D151153
2022-07-08 09:58:33 +00:00
..
ImportMap.cpp Bug 1777450 - Separate error messages for module resulution failure when the specifier might be bare r=allstarschh,flod 2022-07-08 09:58:33 +00:00
ImportMap.h Bug 1688879 - Part 5: ResolveModuleSpecifier for import maps. r=jonco,yulia,flod 2022-05-05 21:19:02 +00:00
LoadContextBase.cpp Bug 1432901 - Part 7: Add a load context for use by the new module loader r=yulia 2022-05-10 12:58:08 +00:00
LoadContextBase.h Bug 1432901 - Part 7: Add a load context for use by the new module loader r=yulia 2022-05-10 12:58:08 +00:00
LoadedScript.cpp Bug 1776832 - Clear chrome module environments in shutdown r=arai 2022-07-04 14:18:54 +00:00
LoadedScript.h Bug 1776832 - Clear chrome module environments in shutdown r=arai 2022-07-04 14:18:54 +00:00
ModuleLoadRequest.cpp Bug 1766274 - Part 2: Rename ProcessLoadedModuleTree to OnModuleLoadComplete r=yulia 2022-04-26 12:40:47 +00:00
ModuleLoadRequest.h Bug 1766274 - Part 4: Change references to module trees to module graphs r=yulia 2022-04-26 12:40:48 +00:00
ModuleLoaderBase.cpp Bug 1777450 - Separate error messages for module resulution failure when the specifier might be bare r=allstarschh,flod 2022-07-08 09:58:33 +00:00
ModuleLoaderBase.h Bug 1769029 - Support ESM loaded by shim in Cu.loadedModules. r=yulia 2022-05-13 22:02:41 +00:00
ResolveResult.h Bug 1777450 - Separate error messages for module resulution failure when the specifier might be bare r=allstarschh,flod 2022-07-08 09:58:33 +00:00
ScriptKind.h Bug 1688879 - Part 2: Add support for import maps in ScriptElement/ScriptLoader/ScriptKind. r=jonco,yulia,smaug 2022-05-05 21:19:01 +00:00
ScriptLoadRequest.cpp Bug 1777801 - Check for failure before attempting to instantiate module graph in mozJSModuleLoader::ImportESModule r=arai 2022-07-05 11:38:22 +00:00
ScriptLoadRequest.h Bug 1757833 - Extract methods ScriptBytecodeCompress and ScriptBytecodeDecompress r=nbp 2022-05-20 18:25:40 +00:00
moz.build Bug 1688879 - Part 4: Refactor ResolveModuleSpecifier. r=jonco,yulia 2022-05-05 21:19:02 +00:00