| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
release build assertions for mismatching compartments.
|
|
|
|
| |
This hooks up module scripts to the existing preload mechanism.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit does several things:
- Moves the pref check from ScriptLoader to ns[I]Document so it can be called on
the document.
- Changes the atrribute freezing function to a better name that takes the
document as a parameter.
- Sets the proper async/defer attributes on HTML script elements based on
keywords and whether they are module scripts or not.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This makes sure we don't block body-referred sub-resources by head-referenced
defer and async scripts. This is important for all script loads, not just
modules, but is added here because it was run into while implementing modules.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Because the spec says so.
|
|
|
|
| |
Because the spec says so.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
a visited set
Ref: BZ 1365187
|
|
|
|
| |
Ref: BZ 1365187
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
When module dependencies fail, don't spam with errors for each import; only fire
the error event once.
Ref: BZ 1421259
|
|
|
|
| |
Ref: BZ 1388728
|
|
|
|
|
| |
This backs out the stuff added in Bug 1295978.
Ref: BZ 1295978, 1388728
|
|
|
|
|
|
|
| |
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.
|
|
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
|