Commit Graph

27 Commits

Author SHA1 Message Date
roytam1 e7e78b5d1a import from UXP:
- Issue #618 - Don't preload nomodule scripts when modules are enabled (6c8f24a7)
- Issue #618 - Regenerate the HTML Parser code for nomodule changes (527d5c62)
2022-04-16 00:04:30 +08:00
roytam1 1ed3ea1ee7 import from UXP: Issue #618 - (async) Implement async attribute for inline module scripts. (3781c4a6) 2022-04-15 23:58:11 +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 f4d609a938 import from UXP: Issue #618 - (async, preload) Correctly pass info about async/defer to parser. (3fa4aabf) 2022-04-15 23:50:17 +08:00
roytam1 83c01dc5fe import from UXP: Issue #618 - (async) Split out function to add async request. (d8c2bc29) 2022-04-15 23:47:45 +08:00
roytam1 68fc0c9d6f import from UXP: Issue #618 - Rename some script load request flags to be more descriptive. (ecf9c7cf) 2022-04-15 23:45:45 +08:00
roytam1 1a76ff4883 import from UXP: Issue #618 - Make document.currentScript null in modules. (b7dbc3e7) 2022-04-15 23:41:05 +08:00
roytam1 b910e82063 import from UXP: Issue #618 - Fix processing of non-parser-generated module scripts. (d7889e2d) 2022-04-15 23:39:41 +08:00
roytam1 cc301c92f0 import from UXP: Issue #618 - Handle errors for inline module scripts and ensure we update the module map after fetch errors. (93d4766c) 2022-04-15 23:37:15 +08:00
roytam1 b8935d5c9c import from UXP: Issue #618 - Split SRI verification out from OnStreamComplete. (6c7ac2b8) 2022-04-15 23:35:08 +08:00
roytam1 2acff77359 import from UXP: Issue #618 - Split handling of load errors out from OnStreamComplete. (7e6cd5de) 2022-04-15 23:31:25 +08:00
roytam1 c1a945fa0c import from UXP: Issue #618 - Don't mute errors for module scripts because they always use CORS (75f3f09f) 2022-04-15 23:19:57 +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 00845d3829 import from UXP: Issue #618: Ignore 'event' and 'for' attributes for module scripts. (97617a3a) 2022-04-15 23:15:13 +08:00
roytam1 e30e38b739 import from UXP: Issue #618 - Simplify module resolve hook to be a function pointer (34db7617) 2022-04-15 18:02:37 +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 f88d0aec81 import from UXP: Issue #618 - Simplify module map interface (f0d6e293) 2022-04-15 16:06:08 +08:00
roytam1 6c1168aa22 import from UXP: Issue #618 - Record module dependency before starting fetch so that error handling works correctly (40017437) 2022-04-15 16:02:22 +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 0f3f7f510c import from UXP: Issue #618 - Fix error events fired when loading JS module dependencies fail (933fb544) 2022-04-15 15:25:01 +08:00
roytam1 d90848972b import from UXP: Issue #618 - Remove eager instantiation (a754a7be) 2022-04-15 12:38:07 +08:00
roytam1 c298e978cf import from UXP: Issue #618 - Match JSAPI names with the changes in 9ca74147225eed305e28c7887f9b2251aeeb0f36 (91a79c0d) 2022-04-15 12:36:00 +08:00
roytam1 6c5977befd import from UXP: Issue #618 - Add clarifying code comments. (33634721) 2022-04-15 11:47:13 +08:00
roytam1 f5be0e0d1e import from UXP: Issue #618 - Check for failed instantiation when starting to fetch dependencies (27f4d0b5) 2022-04-15 11:46:36 +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
roytam1 b80c8a551b ported from UXP: Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement (f85b274e) 2022-04-15 11:43:57 +08:00