summaryrefslogtreecommitdiffstats
path: root/dom/script
Commit message (Collapse)AuthorAgeLines
* Issue #618 - Don't mute errors for module scripts because they always use CORSJon Coppeard2020-08-30-4/+4
|
* Issue #618: Pass down referrer and referrer policy when fetching modules.Moonchild2020-08-30-25/+42
| | | | Because the spec says so.
* Issue #618: Ignore 'event' and 'for' attributes for module scripts.Moonchild2020-08-30-23/+30
| | | | Because the spec says so.
* Issue #618 - Simplify module resolve hook to be a function pointerMoonchild2020-08-30-31/+19
| | | | | This is an ahead-of time port to try and address #1624. This is based on BZ 1461751 and Jon Coppeard's work in it.
* Issue #618 - Keep track of which modules in a graph have been fetched using ↵Gaming4JC2020-08-30-72/+92
| | | | | | a visited set Ref: BZ 1365187
* Issue #618 - Simplify module map interfaceGaming4JC2020-08-30-14/+14
| | | | Ref: BZ 1365187
* Issue #618 - Record module dependency before starting fetch so that errorJon Coppeard2020-08-30-1/+1
| | | | | | handling works correctly Ref BZ 1395896
* Issue #618 - Align error handling for module scripts with the spec (again)Moonchild2020-08-30-58/+79
| | | | | | | | This updates module implementation to match spec regarding handling of instantiation errors, after it was changed yet again, this time to not remember instantiation errors, but instead immediately rethrow applicable ones. Ref: BZ 1420420
* Issue #618 - Fix error events fired when loading JS module dependencies failMoonchild2020-08-30-8/+11
| | | | | | | When module dependencies fail, don't spam with errors for each import; only fire the error event once. Ref: BZ 1421259
* Issue #618 - Further align error handling for module scripts with the specMoonchild2020-07-10-89/+280
| | | | Ref: BZ 1388728
* Issue #618 - Remove eager instantiationMoonchild2020-07-10-129/+9
| | | | | This backs out the stuff added in Bug 1295978. Ref: BZ 1295978, 1388728
* Issue #618 - Match JSAPI names with the changes in ↵Moonchild2020-07-10-2/+2
| | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728
* Issue #618 - Add clarifying code comments.Moonchild2020-07-10-0/+12
|
* Issue #618 - Check for failed instantiation when starting to fetch dependenciesMoonchild2020-07-10-0/+6
| | | | | If instantiation has failed, then also fail the load and don't fetch imports. Ref BZ: 1358882
* Issue #1603 - Part 2: Split some classes out of ScriptLoader.cppMoonchild2020-07-10-534/+650
| | | | | | | 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.
* Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElementMoonchild2020-07-10-0/+5703
- Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers