gecko-dev/dom/script
Emilio Cobos Álvarez d39e78a02e Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin
In bug 1883435 comment 2 chutten mentions that including
nsGlobalWindowInner.h from GleanMetrics.h causes a stylo build failure.

This is because nsGlobalWindowInner.h itself brings a bunch of DOM
bindings template soup that bindgen isn't great at dealing with.

That can be fixed in various ways. However, there is a simpler fix,
which is not including GleanMetrics at all.

It's trivial to do, and given it's a massive autogenerated file, and
Document.h is a very common header, it's worth doing this if only for
build times.

Fix a bunch of unused includes while at it.

Differential Revision: https://phabricator.services.mozilla.com/D203625
2024-03-05 17:54:14 +00:00
..
AutoEntryScript.cpp Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau 2023-10-24 15:18:12 +00:00
AutoEntryScript.h Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau 2023-10-24 15:18:12 +00:00
ModuleLoader.cpp Bug 1875836 - Part 1: Add ModuleLoadRequest::SetDynamicImport method. r=jonco 2024-01-23 23:29:53 +00:00
ModuleLoader.h Bug 1871075 - Part 1: Store referencing private as a pointer to the underlying LoadedScript r=yulia 2023-12-21 13:30:34 +00:00
moz.build Bug 1881748, part 2 - Turn nsIScriptLoaderObserver.idl into nsIScriptLoaderObserver.h. r=dom-core,peterv 2024-02-27 17:13:00 +00:00
nsIScriptElement.cpp Bug 1853547 - Remove dom.importMaps.enabled pref r=allstarschh 2024-01-06 01:53:19 +00:00
nsIScriptElement.h Bug 1864168 - Part 6: Use 1-origin column number in ScriptLoader and nsIScriptElement. r=smaug,devtools-reviewers,hsivonen,ochameau 2023-11-22 12:31:32 +00:00
nsIScriptLoaderObserver.h Bug 1881748, part 2 - Turn nsIScriptLoaderObserver.idl into nsIScriptLoaderObserver.h. r=dom-core,peterv 2024-02-27 17:13:00 +00:00
ScriptCompression.cpp Bug 1828654 - Move deflateInit before deflateBound r=nbp 2023-12-13 16:10:36 +00:00
ScriptCompression.h
ScriptDecoding.h
ScriptElement.cpp Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
ScriptElement.h
ScriptLoadContext.cpp
ScriptLoadContext.h Bug 1864168 - Part 6: Use 1-origin column number in ScriptLoader and nsIScriptElement. r=smaug,devtools-reviewers,hsivonen,ochameau 2023-11-22 12:31:32 +00:00
ScriptLoader.cpp Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin 2024-03-05 17:54:14 +00:00
ScriptLoader.h Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
ScriptLoadHandler.cpp Bug 1800641 - Part 8: Add LoadContextBase* parameter to ScriptLoadRequest methods which is going to be moved to LoadedScriptDelegate. r=nbp 2024-01-08 14:57:38 +00:00
ScriptLoadHandler.h
ScriptSettings.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
ScriptSettings.h
ScriptTrace.h
ShadowRealmGlobalScope.cpp Bug 1848771 part 1 - Stop eagerly initializing JS standard classes for non-Window globals. r=peterv 2024-01-23 15:06:32 +00:00
ShadowRealmGlobalScope.h