Dactyloidae/dom/script
Moonchild 3781c4a6dd Issue #618 - (async) Implement async attribute for inline module scripts.
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.
2020-08-29 08:10:42 +08:00
..
ModuleLoadRequest.cpp Issue #618 - (async) Keep track of script modes in a single mode state. 2020-08-29 08:10:40 +08:00
ModuleLoadRequest.h Issue #618: Pass down referrer and referrer policy when fetching modules. 2020-08-29 08:09:41 +08:00
ModuleScript.cpp Issue #618 - Align error handling for module scripts with the spec (again) 2020-08-29 08:07:00 +08:00
ModuleScript.h Issue #618 - Align error handling for module scripts with the spec (again) 2020-08-29 08:07:00 +08:00
moz.build Issue #1603 - Part 2: Split some classes out of ScriptLoader.cpp 2020-07-04 07:01:03 +08:00
nsIScriptElement.h Issue #618 - (async) Implement async attribute for inline module scripts. 2020-08-29 08:10:42 +08:00
nsIScriptLoaderObserver.idl Issue #618 - Fix error events fired when loading JS module dependencies fail 2020-08-29 08:06:57 +08:00
ScriptElement.cpp Issue #618 - (async) Implement async attribute for inline module scripts. 2020-08-29 08:10:42 +08:00
ScriptElement.h Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
ScriptLoader.cpp Issue #618 - (async) Implement async attribute for inline module scripts. 2020-08-29 08:10:42 +08:00
ScriptLoader.h Issue #618 - (async) Implement async attribute for inline module scripts. 2020-08-29 08:10:42 +08:00
ScriptLoadHandler.cpp Issue #1603 - Part 2: Split some classes out of ScriptLoader.cpp 2020-07-04 07:01:03 +08:00
ScriptLoadHandler.h Issue #1603 - Part 2: Split some classes out of ScriptLoader.cpp 2020-07-04 07:01:03 +08:00
ScriptSettings.cpp Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
ScriptSettings.h Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00