tor-browser

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

commit 34061e0abeb56a92f05a1628d438958d25d04f74
parent c80d8f741871a23c36b62d86d604669abdc7cc0e
Author: az <azebrowski@mozilla.com>
Date:   Thu, 20 Nov 2025 23:44:49 +0000

Bug 2001172 - Part 1: Add function to TMimeType to return the number of parsed parameters. r=dom-core,smaug

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

Diffstat:
Mdom/base/MimeType.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dom/base/MimeType.h b/dom/base/MimeType.h @@ -88,6 +88,8 @@ class TMimeType final { void SetParameterValue(const nsTSubstring<char_type>& aName, const nsTSubstring<char_type>& aValue); + size_t GetParameterCount() const { return mParameterNames.Length(); } + NS_INLINE_DECL_REFCOUNTING(TMimeType) };