mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-27 11:20:57 +00:00
Issue #618 - (async) Keep track of script modes in a single mode state.
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 commit is contained in:
@@ -63,6 +63,7 @@ ModuleLoadRequest::ModuleLoadRequest(nsIURI* aURI,
|
||||
MOZ_ASSERT(mVisitedSet->Contains(aURI));
|
||||
|
||||
mIsInline = false;
|
||||
mScriptMode = aParent->mScriptMode;
|
||||
}
|
||||
|
||||
void ModuleLoadRequest::Cancel()
|
||||
|
||||
Reference in New Issue
Block a user