mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 06:09:19 +00:00
Bug 1885309 - Support mjs files for zero_byte_load, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204635
This commit is contained in:
parent
5338d8fd0f
commit
4043773256
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user