gecko-dev/dom/script
Adam Vandolder 61ffa36c9d Bug 1827512 - Properly handle type and src attribute changes on script tags. r=smaug
Modifies the preparation of script tags in order to better follow the
specification. Now, scripts are only considered to have already started
if they have a valid type when being prepared, and only changes to the
src attribute trigger script preparation, instead of for all attributes.
This allows script tags to be re-run after their type and src are
modified, if they haven't run already.

Differential Revision: https://phabricator.services.mozilla.com/D175795
2023-06-14 04:00:09 +00:00
..
AutoEntryScript.cpp
AutoEntryScript.h
ModuleLoader.cpp
ModuleLoader.h
moz.build
nsIScriptElement.cpp
nsIScriptElement.h Bug 1827512 - Properly handle type and src attribute changes on script tags. r=smaug 2023-06-14 04:00:09 +00:00
nsIScriptLoaderObserver.idl
ScriptCompression.cpp
ScriptCompression.h
ScriptDecoding.h
ScriptElement.cpp Bug 1827512 - Properly handle type and src attribute changes on script tags. r=smaug 2023-06-14 04:00:09 +00:00
ScriptElement.h
ScriptLoadContext.cpp
ScriptLoadContext.h
ScriptLoader.cpp Bug 1827512 - Properly handle type and src attribute changes on script tags. r=smaug 2023-06-14 04:00:09 +00:00
ScriptLoader.h Bug 1827512 - Properly handle type and src attribute changes on script tags. r=smaug 2023-06-14 04:00:09 +00:00
ScriptLoadHandler.cpp
ScriptLoadHandler.h
ScriptSettings.cpp
ScriptSettings.h
ScriptTrace.h
ShadowRealmGlobalScope.cpp
ShadowRealmGlobalScope.h