Commit Graph

7 Commits

Author SHA1 Message Date
roytam1 04c3941012 import from UXP: Issue #1691 - Part 7d: Allow dynamic import in cases where there's no referencing script or module. Support dynamic import from classic scripts by creating ClassicScript objects and associating them with the compiled. M1342012 This patch is incomplete, some code in ScriptLoader::EvaluateScript() could not be applied for missing dependencies. Part 7e will apply the missing dependencies and finish the patch. (d5d7bb5e) 2023-04-30 23:46:16 +08:00
roytam1 abf9ba5235 ported from UXP: Issue #1691 - Part 6b: Initial browser support for dynamic import from module scripts. M1342012 Factor out script fetch options from script load request classes. M1480720 Remove support for version parameter from script loader. M1428745 (86e0057e) 2023-04-30 23:16:24 +08:00
roytam1 2e2530121b import from UXP: Issue #618 - Implement preloading of module scripts. (1e87731c) 2022-04-16 00:22:00 +08:00
roytam1 93d96988ab ported from UXP: Issue #618: Pass down referrer and referrer policy when fetching modules. (684f4824) 2022-04-15 23:18:01 +08:00
roytam1 8311e2490e import from UXP: Issue #618 - Keep track of which modules in a graph have been fetched using a visited set (6639e9cd) 2022-04-15 16:07:28 +08:00
roytam1 d171ffbfd5 import from UXP: Issue #618 - Further align error handling for module scripts with the spec (743bdc04) 2022-04-15 15:46:05 +08:00
roytam1 fc541bc720 import from UXP: Issue #1603 - Part 2: Split some classes out of ScriptLoader.cpp (c04b682a) 2022-04-15 11:45:37 +08:00