Moonchild
58308a5c7a
Merge branch 'master' into release
...
# Conflicts:
# python/mozbuild/mozpack/dmg.py
2023-05-11 17:35:14 +02:00
Brian Smith
88c7d54975
No Issue - Fix FreeBSD build failure with WebRTC enabled. (release uplift)
...
Tag #2227
2023-05-01 22:12:11 +02:00
Timothy Valldeperas
eadb5678b3
Issue #2175 - Fix build bustage in WebRTC. (release uplift)
...
Resolves #2227
2023-05-01 19:04:57 +02:00
Moonchild
54e3e60796
Revert "[devtools] Don't allow sourcemap URLs to redirect"
...
This reverts commit 2a05494abe .
2023-04-17 10:25:45 +02:00
Moonchild
2a05494abe
[devtools] Don't allow sourcemap URLs to redirect
2023-04-13 10:54:34 +02:00
Moonchild
bc89e58def
[network] Improve checks while parsing MIME parameters.
2023-04-13 10:54:27 +02:00
Moonchild
3a009b97f6
Issue #1911 - Follow-up: Filter out illegal characters in more locations.
2023-04-13 10:54:10 +02:00
Moonchild
a105f6d5e9
No issue - Fix off-by-one of kLargeDatasetSize
2023-04-13 10:54:02 +02:00
Sandra
5db241c0c0
Increase size of data over which we write the data to disk rather than keep it around in memory
2023-04-13 10:53:53 +02:00
Sandra
d38dca10e5
Use nsAnonymousTemporaryFile for clipboard cache
...
Base on https://github.com/mozilla/gecko-dev/commit/ecc04a9245b409d7eed7df63ba733cd2073180de
2023-04-13 10:53:14 +02:00
Moonchild
54fc723126
Issue #2180 - Follow-up: Move sentinel check up a bit.
2023-04-02 15:39:05 +02:00
Moonchild
9b8ca17ee4
Issue #2180 - Add pref to control NSS TLS 1.3 protocol downgrade sentinel
2023-04-02 15:38:57 +02:00
Moonchild
cddc95b39b
Issue #2176 - Don't reconstruct the parent when tearing down
...
display:contents nodes with pseudo-elements.
We need to use StyleChildrenIterator which iterates over them, instead.
This is a bit of a hack but we can't always have our cake.
We need to be a bit careful though, since ::before and ::after are owned
by their own frame, and thus could be unbound from the tree or even dead
after removing the frame.
This basically ports bugs 1435566 and 1438467
2023-04-02 15:38:31 +02:00
Moonchild
5676529793
Issue #2171 - Skip over shadow nodes that don't have an owning node.
...
Resolves #2171
2023-04-02 15:37:44 +02:00
Moonchild
ce68156cf4
Revert "[widget] Linux GTK3: Detach accessible from moz_container before it's deleted"
...
This reverts commit 465a18f342 .
Resolves #2168
2023-03-18 19:57:56 +01:00
Moonchild
5032ad9593
Issue #2117 - Follow-up: Run precomplete cmd during package staging
...
We rely on this for all OSes except Mac where precomplete should not
be in the root (it uses Mozilla's fallback packaging that places it in
$RESPATH)
2023-03-17 22:11:30 +01:00
Moonchild
b55f765f2e
Issue #1911 - Follow-up: Filter out illegal file extensions also.
...
We already did this for file names, just not extensions.
2023-03-17 12:02:55 +01:00
Moonchild
856078d435
[widget] Linux GTK3: Detach accessible from moz_container before it's deleted
2023-03-17 12:02:46 +01:00
Moonchild
c74c262d2f
[GFX] Add some sanity checks and clamps to SurfaceData calculations.
2023-03-17 12:02:38 +01:00
Moonchild
787e29e374
No Issue - Ensure more OsiSpace
...
ensureOsiSpace(); was very much under-used. This adds more instances
where it makes sense to ensure Osi space before placing masm calls.
2023-03-17 12:02:31 +01:00
FranklinDM
e439896c9b
Issue #2148 - Shrink Vector from (usually) four pointers in size to three
...
when no inline storage is used.
See Bug 1338374
2023-03-17 12:02:20 +01:00
FranklinDM
15b508f1fb
Issue #2148 - Make Vector not use AlignedStorage for its inline element storage
...
See Bug 1338374 1/2
2023-03-17 12:02:12 +01:00
Job Bautista
5651ebfc76
Issue #2148 - Discard RegExpShared data tables when discarding regexp JIT code.
...
Based on Mozilla bug 1378736's part 2.
Should fix the double-free.
Follow-up for #2083
2023-03-17 12:02:04 +01:00
Job Bautista
593bfc1ce8
Issue #2148 - Don't null out RegExpObject -> RegExpShared pointer on GC.
...
Follow-up for issue #2083 .
Taken from Mozilla bug 1378736.
2023-03-17 12:01:50 +01:00
Brian Smith
28953cda7a
Issue #2160 - Initial support for notarizing during DMG package.
...
Added --with-macbundle-idenity configure option to set a codesign identity.
If no identity is set or cross-compiling from Linux no codesigning will be
done. Currently doing a full deep bundle v2 sign, instead of limited v1.
2023-03-15 15:10:52 +01:00
Moonchild
516f3f545d
Merge branch 'master' into release
...
# Conflicts:
# CLOBBER
# js/src/vm/RegExpObject.cpp
# security/nss/lib/nss/nss.h
# security/nss/lib/pkcs12/p12d.c
# security/nss/lib/softoken/softkver.h
# security/nss/lib/util/nssutil.h
2023-03-13 13:11:20 +01:00
Moonchild
83aff65a42
Force clobber
2023-02-19 17:53:31 +01:00
Moonchild
5bd97df957
[NSS] Update NSS to 3.52.9 to pick up fixes.
2023-02-19 17:51:26 +01:00
Moonchild
8772711181
[DOM] Check whether module load request was already cancelled when a load fails
2023-02-19 17:51:18 +01:00
Moonchild
dc9526f4c6
[widget] Properly test for and handle errors in target-surface creation
...
and mapping.
2023-02-19 17:51:10 +01:00
Moonchild
9ab36e7ae0
Issue #2103 - Fix typo in RegExp Parser
...
This corrects the typo where the left-hand character would determine if
the right-hand character would be added or not.
Resolves #2103
2023-02-02 10:50:47 +01:00
Job Bautista
e8d30841e7
Issue #2091 - Parse \p{Extended_Pictographic} too.
...
This is essentially a follow up to Issue #1286 . We already have
UCHAR_EXTENDED_PICTOGRAPHIC in our in-tree ICU, so there's no reason to comment
this case out.
2023-01-27 05:01:53 +01:00
Martok
9faf29374e
Issue #2093 - Trace HeapPtr<RegExpShared::groupsTemplate_> for GC move/compact events, regression from #2072
2023-01-26 20:11:28 +01:00
Moonchild
75e4818d36
Merge branch 'master' into release
2023-01-19 00:42:00 +01:00
Moonchild
a65144e9e0
Fix merge conflicts.
2023-01-13 12:55:52 +01:00
Moonchild
4f29548526
Merge branch 'master' into release
...
# Conflicts:
# image/decoders/nsJXLDecoder.cpp
# js/src/irregexp/NativeRegExpMacroAssembler.cpp
# js/src/irregexp/RegExpAST.h
# js/src/irregexp/RegExpEngine.cpp
# js/src/irregexp/RegExpParser.cpp
# js/src/irregexp/RegExpParser.h
# xpcom/io/nsLocalFileUnix.cpp
2023-01-13 12:11:56 +01:00
Moonchild
528db2cbd8
Issue #1818 - Remove obsolete path hack in widget code.
2022-12-16 09:13:48 +00:00
Moonchild
84e6bcc1e6
[network] Align cookie checks with RFC 6265 (bis)
2022-12-16 09:13:38 +00:00
Moonchild
0dc9ff518d
[libjar] Add some extra sanity checks to our Zip reader.
2022-12-16 09:13:25 +00:00
Moonchild
a2e3bd44aa
[network] move some generic websocket code to the baseclass
2022-12-16 09:13:09 +00:00
Moonchild
163a0e7caf
Revert "Issue #1279 - Implement regular expressions lookbehind (v2)"
...
This reverts commit d10e8a5b06 .
2022-12-15 09:11:02 +00:00
Moonchild
49a86db5f3
Issue #2040 - Pre-multiply the alpha values in our JXL decode buffer. (uplift)
...
Using selective calculation (only if not opaque) and fast integer
math here should optimize well in compilers.
2022-12-15 09:09:19 +00:00
Moonchild
2640953d8b
Issue #2019 - Follow-up: Make nsPluginInstanceOwner also listen to keypress events in the system event group.
...
nsPluginInstanceOwner only listens to keypress events in the default event group.
However, in our changed operating mode, keypress events are not fired in the
default event group if the key does not result in something printable.
This means that nsPluginInstanceOwner should also listen to keypress events
in the system event group and should handle each keypress that way, but
only once. I.e., if a printable keypress event is received in the system event
group, it should be ignored, since it would've already been handled in the
default event group in that case.
2022-11-26 18:18:09 +00:00
Moonchild
7eb7d67f7a
Issue #2033 - Temporary fix of R<->B channel swap.
...
We have a BGR/RGB channel ordering mismatch here. to at least
provide proper display, a quick&dirty byte swap on the output
buffer will fix this for now, but we should look into seeing where
the surface mismatch is caused.
std::swap() should optimize pretty well in any of the used
compilers, but if necessary, a full buffer ASM routine can be
slotted in (although on current hardware I doubt this will be
even noticeable as it is)
2022-11-26 02:43:18 +00:00
Moonchild
e28860ba7f
Revert "[XPCOM] Deal with lstat potentially lying in nsLocalFileUnix."
...
This reverts commit c127f58ef3 .
2022-11-20 14:14:48 +00:00
Moonchild
49a96b1d91
Merge branch 'master' into release
2022-11-19 20:15:23 +00:00
Moonchild
3130812693
Merge branch 'master' into release
2022-11-12 18:34:07 +00:00
Moonchild
71ae69aea8
[WebGL] Implement webgl.max-size-per-texture-mib
2022-10-26 14:50:05 +00:00
Moonchild
9e34d697c7
[XPCOM] Fix Base64 off-by-one issue and safeguard against this mistake in the future.
2022-10-26 14:49:55 +00:00
Moonchild
8fa9125d02
[No issue] Hold some strong references on nsRefreshDriver
2022-10-26 14:49:46 +00:00
Brian Smith
4b4488c3e4
Issue #2022 - Part 2 - Add Ventura version detection.
...
Also add Monterey and Ventura to the graphics driver blocklist.
2022-10-26 14:49:33 +00:00
Brian Smith
248db7d301
Issue #2022 - Part 1 - Fix transparent windows on MacOS 13 Ventura.
...
During the BaseWindow creation contenView is nil on Ventura...
So create a NSView with the requested dimensions and set is as the contenView.
2022-10-26 14:49:23 +00:00
Moonchild
e199f2949b
[No issue] Ensure LockImpl::Try() returns the correct bool value.
2022-10-26 14:45:39 +00:00
Moonchild
456b5450a4
Issue #2010 - Ensure raw tagnames are safe exiting internalEntityParser
...
This resolves #2010
2022-09-28 13:50:10 +00:00
Moonchild
d8e629c4a3
Merge branch 'master' into release
2022-09-27 20:12:40 +00:00
Moonchild
4898c4f297
Merge branch 'master' into release
2022-09-24 12:16:59 +00:00
Moonchild
7cd578bbc6
Merge branch 'master' into release
2022-09-22 13:16:48 +00:00
Moonchild
1e91df628a
Merge branch 'master' into release
2022-09-22 11:52:16 +00:00
Moonchild
b110549cbd
Merge branch 'master' into release
2022-07-27 06:07:45 +00:00
Moonchild
971047835a
Merge branch 'master' into release
...
# Conflicts:
# config/milestone.txt
# toolkit/mozapps/extensions/internal/XPIProvider.jsm
2022-07-25 20:47:06 +00:00
Moonchild
dd4d9eb032
[XPCOM] Crash safely when TArray replacements are OOB.
...
In the unlikely event of TArray element replacement calls are OOB, crash safely
with a debug breakpoint instead of corrupting memory.
2022-07-03 15:49:44 +00:00
Moonchild
8b94f1e480
[DOM] use the sanitizer to restrict href in svg:use to fragment-only URLs
2022-07-03 15:49:34 +00:00
Moonchild
c89610a5c7
[network] Clear PAC loader when the load failed
2022-07-03 15:49:23 +00:00
Moonchild
217963cbed
Update NSS to 3.52.7
2022-07-03 15:49:14 +00:00
Moonchild
c4f4e18340
[DOM media] Remove potentially unsafe type accesses when debug logging
2022-07-03 15:49:04 +00:00
Moonchild
8a7c0e7345
[network] Clean up and update the list of external protocol handlers.
2022-07-03 15:48:54 +00:00
Moonchild
52e304d450
Issue #1053 - Follow-up: Correct conditional define on POSIX systems. (uplift)
...
This conditional was incorrectly changed when removing Android support.
This potentially causes issues on Linux systems by not using pthreads correctly,
which may lead to high idle CPU usage.
2022-06-28 13:28:20 +00:00
Moonchild
cfc0eeca53
Revert "Issue #1909 - Guard against empty update manifest URL"
...
This reverts commit d7fadcdef9 .
2022-06-07 11:59:07 +00:00
Moonchild
ebd3dd9228
Merge branch 'master' into release
2022-06-03 21:50:44 +00:00
Moonchild
cb40e4e7ef
Merge branch 'master' into release
2022-06-01 13:54:11 +00:00
Moonchild
662dba55fd
Merge branch 'master' into release
2022-05-29 11:13:44 +00:00
Moonchild
8760ce023c
Issue #1895 - Implement queueMicroTask(callback()) (uplift)
2022-05-07 14:40:14 +00:00
Moonchild
b86e148bb7
Roll back milestone version to release.
2022-05-06 12:43:43 +00:00
Moonchild
9e83721e5e
Merge branch 'master' into release
2022-05-06 12:43:00 +00:00
Moonchild
dc2d6c2e60
Revert "No Issue - Make content-type on JAR channels behave the same as HTTP channels."
...
This reverts commit 425677ada7 .
2022-05-03 17:38:19 +00:00
Moonchild
4ada6f6762
Update 7zSD for v31
2022-05-03 17:38:12 +00:00