Recognizes .jxl as a proper image type

Based on:
90702891fe/f/0002-Bug-1539075-Register-.jxl-extension-in-Firefox.-r-tn.patch
This commit is contained in:
noaione
2025-02-23 22:21:25 +07:00
parent f11ae35b07
commit 34b0c8e774
13 changed files with 248 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/browser/components/BrowserContentHandler.sys.mjs b/browser/components/BrowserContentHandler.sys.mjs
index 7aef091c0be1cb0ea0be52268949db17032f96d9..5e9105fa671d1b1979f204fc8d3be22771998ad7 100644
--- a/browser/components/BrowserContentHandler.sys.mjs
+++ b/browser/components/BrowserContentHandler.sys.mjs
@@ -1278,6 +1278,7 @@ function maybeRecordToHandleTelemetry(uri, isLaunch) {
".avif",
".htm",
".html",
+ ".jxl",
".pdf",
".shtml",
".xht",