tor-browser

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

commit 3eebccc479c4a13bd12dc9be33a4956d5f1bf53b
parent dd8530cb712421183ae28572cad60551445be0bb
Author: Tooru Fujisawa <arai_a@mac.com>
Date:   Wed, 22 Oct 2025 04:35:33 +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;