Moonchild
786e344698
Issue #618 - Fix error events fired when loading JS module dependencies fail
...
When module dependencies fail, don't spam with errors for each import; only fire
the error event once.
Ref: BZ 1421259
2020-07-08 10:50:53 +00:00
Moonchild
66bf3a2279
Issue #618 - Further align error handling for module scripts with the spec
...
Ref: BZ 1388728
2020-07-04 16:28:30 +00:00
Moonchild
046534432d
Issue #618 - Remove eager instantiation
...
This backs out the stuff added in Bug 1295978.
Ref: BZ 1295978, 1388728
2020-07-04 10:35:22 +00:00
Moonchild
10e2624419
Issue #618 - Match JSAPI names with the changes in 9ca7414722
...
Ref: BZ 1388728
2020-07-03 14:21:27 +00:00
Moonchild
98752af133
Issue #618 - Add clarifying code comments.
2020-07-01 21:12:49 +00:00
Moonchild
ec10b65dde
Issue #618 - Check for failed instantiation when starting to fetch dependencies
...
If instantiation has failed, then also fail the load and don't fetch imports.
Ref BZ: 1358882
2020-07-01 21:12:16 +00:00
Moonchild
9056191e67
Issue #1603 - Part 2: Split some classes out of ScriptLoader.cpp
...
This splits ScriptLoader up the same way Mozilla did with the exception of
ScriptRequest due to the fact that ScriptLoader and ScriptRequest are
interdependent and would create a circular dependency if split apart when not
using unified building.
2020-07-01 10:15:24 +00:00
Moonchild
c45b7ee3a9
Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement
...
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
2020-06-30 11:51:11 +00:00