Commit Graph

13 Commits

Author SHA1 Message Date
roytam1 7bc855bb7c ported from UXP: Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED (139e7a7a) 2025-01-20 23:04:04 +08:00
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 4db624ccbf import from UXP: [DOM] Check whether module load request was already cancelled when a load fails (bc50a7d3) 2023-02-20 12:08:43 +08:00
roytam1 868d3b6de1 import from UXP: Issue #618 - (async) Keep track of script modes in a single mode state. (29472168) 2022-04-15 23:51:10 +08:00
roytam1 6b1fb2e021 import from UXP: Issue #618 - Integrity for descendant module scripts should be the empty string (9f5805ee) 2022-04-15 23:28:26 +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 65b9c2362b ported from UXP: Issue #618 - Align error handling for module scripts with the spec (again) (0d874713) 2022-04-15 15:55:43 +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 d90848972b import from UXP: Issue #618 - Remove eager instantiation (a754a7be) 2022-04-15 12:38:07 +08:00
roytam1 6c5977befd import from UXP: Issue #618 - Add clarifying code comments. (33634721) 2022-04-15 11:47:13 +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