Commit graph

6,159 commits

Author SHA1 Message Date
roytam1
58a39ca8cb dom/media: more eme fixes 2023-09-14 16:57:56 +08:00
roytam1
f5cacdadbf configure: move MOZ_GMP define block after MOZ_EME 2023-09-14 12:17:20 +08:00
roytam1
0c6e087291 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-14 11:09:14 +08:00
Moonchild
20b69d7ddc Issue #2309 - Cherry-pick upstream libwebp fix.
Backport of: https://chromium.googlesource.com/webm/libwebp.git/+/2af26267cdfcb63a88e5c74a85927a12d6ca1d76

Resolves #2309
2023-09-14 10:23:13 +08:00
Matheus Marinho
9e7d1492e6 Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-09-14 10:22:47 +08:00
Vincent Rabaud
3b44f9850e [libwebp] Fix invalid incremental decoding check.
The first condition is only necessary if we have not read enough
(enough being defined by src_last, not src_end which is the end
of the image).
The second condition now fits the comment below: "if not
incremental, and we are past the end of buffer".

BUG=oss-fuzz:62136

Change-Id: I0700f67c62db8e1c02c2e429a069a71e606a5e4f
2023-09-12 21:43:09 +08:00
Vincent Rabaud
61de658e45 [libwebp] Fix OOB write in BuildHuffmanTable.
First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
2023-09-12 21:42:13 +08:00
roytam1
73a7ce1e57 pref: separated pref for long names of css animation/transition properties. 2023-09-08 08:02:51 +08:00
roytam1
a3e6917887 Revert "[DOM] Make IORunnable::mFilePickerParent into a RefPtr."
This reverts commit 0359d8a9e7.
2023-09-08 08:02:31 +08:00
roytam1
adbf75c56c Revert "[DOM] Follow-up: fix refcounting in FilePickerParent."
This reverts commit 57020c1f59.
2023-09-08 08:02:28 +08:00
roytam1
df34a74f97 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-08 08:01:34 +08:00
Moonchild
57020c1f59 [DOM] Follow-up: fix refcounting in FilePickerParent. 2023-09-08 08:00:30 +08:00
roytam1
e27e1cd712 Issue #2058 - Fix build issues in DataChannel.cpp after sctp upgrade 2023-09-01 11:35:30 +08:00
roytam1
6e3c4f40bf partly import changes from tenfourfox:
- update usrsctp (55284dd80)
- build fixes for usrsctp (09a64c8b5)
2023-09-01 11:15:50 +08:00
roytam1
c32aeee874 partly import changes from tenfourfox:
- update ESR base to 115; update EV roots, pins, TLDs, TZs; security pullup (55284dd80)
2023-09-01 10:07:24 +08:00
roytam1
913a4f1816 pref: remove my version of pref as upstream provided same in another location 2023-09-01 00:08:49 +08:00
roytam1
de745cc432 dom/ipc: follow-up rev 0359d8a9 2023-09-01 00:04:57 +08:00
roytam1
92d9218cf1 Merge remote-tracking branch 'origin/tracking' into custom 2023-08-31 22:43:48 +08:00
Moonchild
56c53b3b8f [gfx] Check if we have a valid texture before trying to delete it. 2023-08-31 22:43:18 +08:00
Moonchild
0359d8a9e7 [DOM] Make IORunnable::mFilePickerParent into a RefPtr. 2023-08-31 22:42:46 +08:00
Moonchild
613cd8f4cb [network] Hold a strong ref to mChannel in OpenConn 2023-08-31 22:42:16 +08:00
Moonchild
850464c616 [DOM] Deny web notifications if principal can't resolve. 2023-08-31 22:41:46 +08:00
Moonchild
058e936f62 [network] Add locking around access to WebSocketChannel::mPMCECompressor 2023-08-31 22:41:14 +08:00
Moonchild
d33ab5822f [XPCOM] Add xll files to the executables list. 2023-08-31 22:40:45 +08:00
Moonchild
f4cc47c049 Issue #2293 - Add preferences to disable CSS animation/transition props.
This resolves #2293
2023-08-31 22:40:10 +08:00
Martok
6ff7b5269e Issue #2298 - Support '#x in obj' ergonomic brand check syntax 2023-08-31 22:39:41 +08:00
Martok
b0d9f0e2ed Issue #2298 - Carry private-ness of names through ParseNodeHandler 2023-08-31 22:38:30 +08:00
Matheus Marinho
8ea70e0eac Bug 1274518 - Add IPDL preprocessing support
Co-authored-by: Kai-Zhen Li <seinlin.maung@gmail.com>
2023-08-31 22:38:07 +08:00
roytam1
6f9d5a9385 ffvpx: update ffmpeg to 3.4.13 ( c721020755 ) 2023-08-28 07:48:28 +08:00
roytam1
f1d0742012 tremor: update to 91decb5f1b
since upstream(i.e. xiph) doesn't update it since 2018.

locally added NOMINMAX guard as well.
2023-08-27 18:22:24 +08:00
roytam1
28f55eb5c4 dom/media: add S16 support code to audio decoders 2023-08-26 07:47:49 +08:00
roytam1
edeec38e07 Merge remote-tracking branch 'origin/tracking' into custom 2023-08-24 13:40:19 +08:00
Matheus Marinho
395ee09367 Add --enable-irc and --enable-inspector to old.configure 2023-08-24 13:39:54 +08:00
athenian200
62f3da2156 Issue #2290 - Hunspell must be built into libxul on SunOS. 2023-08-24 13:39:38 +08:00
roytam1
e7c19e1155 nss: update nssckbi to 2.62 2023-08-24 10:08:25 +08:00
roytam1
df798cf69e speex-resampler: update to git head (i.e. rev 738e179), also update patch files, update.sh, simd_detect.* and remove obsolete patches and headers.
based on firefox-82.0.3 media/libspeex_resampler tree.
2023-08-20 22:38:06 +08:00
roytam1
0f1c046a14 cubeb: disable wasapi backend when '--enable-int-audio-sample' is specified, since it can handle float32 sample only in our current cubeb library. 2023-08-19 17:32:12 +08:00
roytam1
ef5e4f06e0 add configure option '--enable-int-audio-sample' for speed and audio driver compatibility, and fixups in exports and webrtc. 2023-08-19 06:41:26 +08:00
roytam1
864fc133a3 add pref for en/disabling CSS Animations and Transitions. 2023-08-18 09:57:41 +08:00
roytam1
4e8d205102 Merge remote-tracking branch 'origin/tracking' into custom 2023-08-17 09:19:05 +08:00
Brian Smith
549f402d4d Issue #2266 - Part 2 - Add Leak and Undefined Behavior Sanitizer support. Also fix building on FreeBSD and Linux, from the previous commit. 2023-08-17 09:13:57 +08:00
Brian Smith
0f78df0e2c Issue #2266 - Part 1 - Allow MSVC and potentially GCC to use Address Sanitizer on Windows. Check for WINNT instead of CLANG-CL, except for the Blacklist that isn't supported by MSVC. Neither CLANG-CL nor MSVC require -fsanitize=address on the link phase. 2023-08-17 09:13:42 +08:00
Brian Smith
9f80f52d0a Issue #2255 - Disable untested code path in Stopwatch.(h|cpp). https://bugzilla.mozilla.org/show_bug.cgi?id=1325299 Multiprocessor support in Windows returned bogus times causing debug asserts. This may or may not be related to the issue but found it trying to debug it. 2023-08-17 09:13:23 +08:00
Brian Smith
013f130eef No Issue - Fix building WebRTC/Basilisk with --enable-debug A bogus MOZ_ASSERT was added at some point, this should make it work. 2023-08-17 09:10:38 +08:00
Moonchild
a02ef4f1d7 Issue #2284 - Adjust some in-content CSS to account for flex definite-sizing change.
As of this change, flex items in a vertical flex container will sometimes
be considered to have "indefinite" sizes, i.e. percent sizes in them will
no longer resolve.
To work around this, they need to provide a definite flex-basis (e.g. as
part of the "flex" shorthand property) if we want percent sizes to
resolve (instead of being treated as "auto") inside of them.
2023-08-17 09:10:19 +08:00
Moonchild
4b1c9976be Issue #2284 - Update reftest for behaviour change.
I've verified this against Edge-latest.
2023-08-17 09:10:02 +08:00
Moonchild
5235861f6e Issue #2284 - Add exception for flex/grid items resolving percentages against parent.
This folds in BZ bugs 1578586 and 1092007 part 2.
2023-08-17 09:09:43 +08:00
roytam1
1e1d729702 font: update twemoji-colr to https://github.com/jdecked/twemoji/releases/tag/v14.1.2 based version 2023-08-17 09:05:03 +08:00
roytam1
08a62b0b06 Merge remote-tracking branch 'origin/tracking' into custom 2023-08-10 22:14:40 +08:00
Martok
dc5702a0f2 Issue #2172 - add null zone sanity checks 2023-08-10 22:14:10 +08:00