From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- modules/libjar/nsJARChannel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/libjar/nsJARChannel.cpp') diff --git a/modules/libjar/nsJARChannel.cpp b/modules/libjar/nsJARChannel.cpp index de86ac2133..8557327f20 100644 --- a/modules/libjar/nsJARChannel.cpp +++ b/modules/libjar/nsJARChannel.cpp @@ -890,7 +890,8 @@ static void RecordZeroLengthEvent(bool aIsSync, const nsCString& aSpec, } else if (StringEndsWith(fileName, ".properties"_ns)) { eventType = Telemetry::EventID::Zero_byte_load_Load_Properties; } else if (StringEndsWith(fileName, ".js"_ns) || - StringEndsWith(fileName, ".jsm"_ns)) { + StringEndsWith(fileName, ".jsm"_ns) || + StringEndsWith(fileName, ".mjs"_ns)) { // We're going to skip reporting telemetry on JS loads // coming not from omni.ja. // See Bug 1693711 for investigation into those empty loads. -- cgit v1.2.3