summaryrefslogtreecommitdiffstats
path: root/dom/script/ModuleLoadRequest.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #618 - (async) Keep track of script modes in a single mode state.Moonchild2020-08-30-0/+1
| | | | | | This simplifies handling of combinations of async/defer by assigning one and only one state to scripts. If async then always async > if defer or module then defer > otherwise blocking.
* Issue #618 - Integrity for descendant module scripts should be the empty stringMoonchild2020-08-30-1/+1
| | | | Because the spec says so.
* Issue #618: Pass down referrer and referrer policy when fetching modules.Moonchild2020-08-30-3/+8
| | | | Because the spec says so.
* Issue #618 - Keep track of which modules in a graph have been fetched using ↵Gaming4JC2020-08-30-6/+27
| | | | | | a visited set Ref: BZ 1365187
* Issue #618 - Align error handling for module scripts with the spec (again)Moonchild2020-08-30-2/+2
| | | | | | | | 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 - Further align error handling for module scripts with the specMoonchild2020-07-10-4/+38
| | | | Ref: BZ 1388728
* Issue #618 - Remove eager instantiationMoonchild2020-07-10-5/+0
| | | | | This backs out the stuff added in Bug 1295978. Ref: BZ 1295978, 1388728
* Issue #618 - Add clarifying code comments.Moonchild2020-07-10-0/+8
|
* Issue #1603 - Part 2: Split some classes out of ScriptLoader.cppMoonchild2020-07-10-0/+102
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.