Commit graph

6,173 commits

Author SHA1 Message Date
Masahiro Hanada
e5aed07ec1 [libwebp] Fix next is invalid pointer when WebPSafeMalloc fails
When WebPSafeMalloc fails on VP8LHuffmanTablesAllocate,
next is not initialized to NULL.
VP8LHuffmanTablesDeallocate uses next to know the following nodes.
A patch fixes this issue.

Change-Id: I144ae84cd97e5bca227018ef1afa95361267902c
2023-09-20 09:37:33 +08:00
roytam1
30236b0f05 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-20 09:31:36 +08:00
Brian Smith
8f44226445 Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Doubles in Ion. 2023-09-20 09:31:08 +08:00
Brian Smith
209d714434 Issue #2308 & #1240 Follow-up - Replace JSOP_POS in ++/-- with JSOP_TONUMERIC. https://bugzilla.mozilla.org/show_bug.cgi?id=1519135 2023-09-20 09:30:06 +08:00
Brian Smith
2b637c564f Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Ion on Intel32/64. 2023-09-20 09:29:46 +08:00
Brian Smith
e12e377e51 Issue #2308 & #1240 Follow-up - Add BigInt support to JSOP_INC and JSOP_DEC. https://bugzilla.mozilla.org/show_bug.cgi?id=1526309 2023-09-20 09:29:18 +08:00
Brian Smith
5c8a6c5bb8 Issue #2308 & #1240 Follow-up - Introduce new increment and decrement operations. https://bugzilla.mozilla.org/show_bug.cgi?id=1508521 2023-09-20 09:29:01 +08:00
Brian Smith
e9202b0b0f Issue #2308 - Fix JSON BigInt regressions. https://bugzilla.mozilla.org/show_bug.cgi?id=1522433 2023-09-20 09:28:44 +08:00
Brian Smith
470af6ba50 Issue #2282 - Performance observer safety checks. Both fixes from later revisions, without the Dispatch API changes. 2023-09-20 09:28:26 +08:00
Brian Smith
7392901a9b Issue #2026 Follow-up: Fill in missing BigInt64 cases in js::IsTypedArrayConstructor(). Hopefully fixes RSA errors on ProtonMail. 2023-09-20 09:28:07 +08:00
roytam1
6c3db876fc missing changes when reverting previous commit 2023-09-19 11:00:38 +08:00
roytam1
119feb053c Revert "Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC"
This reverts commit 9e7d1492e6.
2023-09-18 21:32:06 +08:00
roytam1
7e50abda7d Revert "configure: move MOZ_GMP define block after MOZ_EME"
This reverts commit f5cacdadbf.
2023-09-18 20:49:36 +08:00
roytam1
2c6336eddb Revert "dom/media: more eme fixes"
This reverts commit 58a39ca8cb.
2023-09-18 20:49:32 +08:00
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