tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit f353b9d3e59c32a0814d85d5719cb6606742be5d
parent 3023c2506afdc605da183e50e5b397074654842d
Author: Tooru Fujisawa <arai_a@mac.com>
Date:   Wed, 22 Oct 2025 11:17:15 +0000

Bug 1991607 - Part 3: Make LoadedScript::mKind field const. r=bthrall

mKind is set by the constructor and is never changed.

Differential Revision: https://phabricator.services.mozilla.com/D267351

Diffstat:
Mjs/loader/LoadedScript.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/loader/LoadedScript.h b/js/loader/LoadedScript.h @@ -292,7 +292,7 @@ class LoadedScript : public nsIMemoryReporter { uint8_t mFetchCount = 0; private: - ScriptKind mKind; + const ScriptKind mKind; protected: mozilla::dom::ReferrerPolicy mReferrerPolicy;