icecat: add release icecat-140.9.0-1gnu1 for ecne

This commit is contained in:
Ark74 2026-03-28 14:10:24 -06:00
parent 8eb1f1732f
commit a5f93cb214
1197 changed files with 30593 additions and 15344 deletions

View file

@ -13475,6 +13475,12 @@
login-us.microsoftonline.com
mirror: never
# Whether to fallback to old mime-type parser when CMimeType::Parse fails
- name: network.http.fallback_to_net_parse_ct
type: RelaxedAtomicBool
value: true
mirror: always
# The factor by which to increase the keepalive timeout when the
# NS_HTTP_LARGE_KEEPALIVE flag is used for a connection
- name: network.http.largeKeepaliveFactor

View file

@ -352,7 +352,8 @@ impl<'t> Parser<'t> {
Parser {
path: path,
kind: kind,
buf: buf,
// Skip a UTF-8 BOM if present at the start of the input.
buf: buf.strip_prefix(&[0xef, 0xbb, 0xbf]).unwrap_or(buf),
i: 0,
line_num: 1,
pref_fn: pref_fn,

View file

@ -492,5 +492,17 @@ pref("int.ok", 0);
"test:4: prefs parse error: unknown keyword\n"
);
// UTF-8 BOM should be skipped at the start of the input.
USER("\xEF\xBB\xBF" R"(
user_pref("int.ok", 1);
)",
""
);
// UTF-8 BOM followed by no content.
USER("\xEF\xBB\xBF",
""
);
// clang-format on
}