summaryrefslogtreecommitdiffstats
path: root/dom/script/ScriptElement.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23-1/+0
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* Issue #618 - (async) Implement async attribute for inline module scripts.Moonchild2020-08-25-2/+2
| | | | | | | | | | 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.
* Issue #618 - Fix error events fired when loading JS module dependencies failMoonchild2020-07-08-2/+2
| | | | | | | When module dependencies fail, don't spam with errors for each import; only fire the error event once. Ref: BZ 1421259
* Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElementMoonchild2020-06-30-0/+150
- Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers