1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00
Commit Graph

6132 Commits

Author SHA1 Message Date
Moonchild ef5f052d97 Issue #2657 - Remove -moz-samplesize resize-decoding for low-vram mobiles
Resolves #2657
2024-11-21 21:08:24 +08:00
Moonchild 75d698133f Issue #2654 - Remove pre-allocated process manager.
Resolves #2654
2024-11-21 21:05:30 +08:00
Moonchild 04b285b848 Issue #2653 - Part 5: Simplify and clean up some quota code
Since we no longer need a complex check, we can remove some indirection.
2024-11-21 21:03:17 +08:00
Moonchild 53cab0f8ce Issue #2653 - Part 4: Remove isApp from quota manager and its clients 2024-11-21 21:02:50 +08:00
Moonchild 7f086f216c Issue #2653 - Part 3: Remove support for packaged apps from asmjscache 2024-11-21 21:02:19 +08:00
Moonchild 0e6fa95840 Issue #2653 - Part 2: Update tests 2024-11-21 21:01:54 +08:00
Moonchild 7b6e3a2d4a Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
Moonchild a6c54d0736 No issue - Stop WebGL context forcing spew in non-debug builds. 2024-11-21 20:58:01 +08:00
Moonchild 60e671e956 Issue #2652 - Part2: Add "Clear DNS cache" button to about:networking
Resolves #2652
2024-11-21 20:57:41 +08:00
Moonchild f5ef327563 Issue #2652 - Part 1: Add a way to programmatically clear the DNS cache. 2024-11-21 20:57:16 +08:00
Moonchild 1f038cd026 No Issue - stop spewing useless xfo < CSP warning in non-debug builds
This warning throws off a lot of users reporting issues. It's not even
a proper warning as it's informative at best.
Leave it in for debug builds, but stop spewing these common notices in
release builds.
2024-11-21 20:56:53 +08:00
Moonchild 1878228db7 Issue #2305 Part 4: Check for failure when getting RegExp match result template
Null deref crash fix.
2024-11-13 23:24:27 +08:00
Martok a382c2aa66 Issue #2305 Part 3c: Merge repeated loops over MatchPairs 2024-11-13 23:23:59 +08:00
Martok 6dbe2de6db Issue #2305 Part 3b: Create .indices and .indices.groups 2024-11-13 23:23:27 +08:00
Moonchild 2d8696c4fe Issue #2305 Part 3a: Pass ResultTemplateKind through CreateRegExpMatchResult
This sets up the MatchResult with the proper structure to contain indices
when necessary.
2024-11-13 23:23:00 +08:00
Moonchild 845d36d582 Issue #2305 Part 2: Support .indices in match result template objects
Before match indices, all match results had the same shape. (If there are
no named capture groups, `.groups` exists but is undefined.) Match results
with `.indices` have a distinct shape, so we need a distinct template
object. We also need a template object for `.indices` itself.
2024-11-13 23:21:30 +08:00
Moonchild 47ef1701b3 Issue #2305 Part 1: Add support for hasIndices to RegExpFlags (/d)
Adds recognition and parsing of the /d RegExp flag.
Drive-by correction: add missing "s" for dotAll to RegExpObject::toString.
Tag #1284 and #2008
2024-11-13 23:20:49 +08:00
Karl Tomlinson 9ba1057e54 Bug 1920800 - Remove oldImages from check for flushed old principal handle
The logic should be equivalent when frame IDs on aImages are contiguously
increasing from IDs on previously set frames.

There are currently no callers passing empty aImages, but the logic in this
case would now be as described in the documentation of
UpdatePrincipalHandleForFrameID():

> We will notify mElement that aPrincipalHandle has been applied when all
> FrameIDs prior to aFrameID have been flushed out.
2024-10-31 21:47:54 +08:00
Moonchild 5c0c0c02d9 Issue #2648 - Inherit the content disposition of the multipart response 2024-10-31 21:47:41 +08:00
Moonchild 6fe326c7bb Issue #2648 - Apply CSP to documents sent through multipart/x-mixed-replace 2024-10-31 21:47:28 +08:00
Moonchild 8d536c0cc7 Issue #2646 - Parse "variations" keywords.
Resolves #2646
2024-10-31 21:47:14 +08:00
Moonchild 8bbcb50b62 Revert "Issue #2645 - Fix type confusion for ResumeKind"
This reverts commit 12e9db2481d2b542e4f32f9b5ba63a4c72b874d5.
2024-10-31 21:46:55 +08:00
Moonchild e665b30629 Issue #2645 - Return null if getName() PC is invalid. 2024-10-24 07:37:47 +08:00
Moonchild 7d978ccd71 Issue #2641 - Update Fetch to adhere to the updated spec (pass refpolicy)
Resolves #2641
2024-10-24 07:37:31 +08:00
Moonchild f6f046930d Issue #2641 - Speculative load changes for referrerpolicy 2024-10-24 07:37:15 +08:00
Moonchild 19c4996881 Issue #2645 - Fix type confusion for ResumeKind
It used a mix of uint8_t and uint16_t. Set it to uint16_t.
Also don't allow non-typeset to simplify stubs used in compound opcodes.
2024-10-24 07:36:44 +08:00
Andy cee682b980 PR #2643 - The border-radius Directive Should Apply to Outlines
However, `-moz-outline-radius` should still override any `border-radius`.
This is primarily done for backward compatibility with some themes.
Additionally, it also allows for more advanced outline control than the CSS spec provides, without breaking spec.
Finally, if the spec is ever updated to include `outline-radius`, we'll be ready to drop the `-moz-` prefix!

Note: BZ 315209 has an inadvertent double-negative in nsDisplayList.cpp:
HasRadius() essentially returns the opposite value it should.
2024-10-24 07:36:08 +08:00
Moonchild a1d0cf1e05 [Pale-Moon] Issue #1972 - Follow-up: include Ci with nsIWebNavigation flag.
For code consistency.
2024-10-11 10:31:27 +08:00
Moonchild b848a924bc [GMP] Factor out more detailed CheckDimensions function for CreateFrame. 2024-10-03 14:35:40 +08:00
Steve Fink 9a6e3bc30d [js] Disallow deserializing structured clone buffers with transferables more than once. 2024-10-03 14:35:12 +08:00
Boris Zbarsky 32498a0694 Bug 1493449 - Change the default credentials mode for module scripts from 'omit' to 'same-origin'
Resolves #2642
2024-10-01 10:27:55 +08:00
Moonchild ea2268b5e8 Bug 1900191 - Use nestegg advertised default duration if it exists. 2024-10-01 10:27:39 +08:00
Moonchild 8cb68d8ea8 Bug 1878510 - Follow-up: Explicitly pass values through variadic functions
While MSVC has no issue with this and understands values should be passed,
clang doesn't like it and aborts.
2024-10-01 10:27:24 +08:00
Moonchild 60c31a5473 Bug 1878510 - When recreating WebM demuxer when encountering a new segment, propagate media time 2024-10-01 10:27:11 +08:00
Martin Husemann 7fe8b63b5c libjpeg: add NetBSD/powerpc spcific Altivec cpu feature detection 2024-10-01 10:26:45 +08:00
Martin Husemann 545b4401c5 Hardcode '-maltivec' as compiler flag for powerpc/altivec support 2024-10-01 10:26:07 +08:00
Moonchild e1c64b1bb8 [Pale-Moon] Issue #1972 - Halt only closing tab activity before closing, not everything browser-wide. 2024-09-22 20:53:59 +08:00
Moonchild 03c56728d9 [Pale-Moon] Issue #1972 - Disable forcing GC on memory pressure. 2024-09-22 20:53:33 +08:00
Moonchild cf29319f78 [Pale-Moon] Issue #1972 - Make sure all tab activity is halted before removal. 2024-09-22 20:53:03 +08:00
Moonchild fa2fdbe24e [Pale-Moon] Issue #1972 - Implement ghostbuster 2024-09-22 20:52:34 +08:00
Moonchild d004b26d7f [Pale-Moon] Warn before using external handler for usenet protocols
We normally ask for confirmation before asking the operating system to
find an application to handle a scheme that the browser does not support.

It did not ask before doing so for the Usenet-related schemes news: snews:
and nntp:. Since most operating systems in 2024 don't have a trusted
newsreader installed by default, an unscrupulous program that the user
downloaded could register itself as a handler.
The website that served the application download could then launch that
application at will. Of course, all bets are off if a user runs such a
program to begin with, but in some situations (looking at you, MacOS!)
just downloading/unpacking could already result in registration as a
protocol handler without the user actually executing anything.
2024-09-22 20:50:49 +08:00
Moonchild 1d9b68afa8 [Pale-Moon] Issue #1967 - Enable prefetching and provide interface.
- Expose network.dns.disablePrefetch to UI.
- Set the pref to false by default (DNS prefetch enabled)

Resolves #1967
2024-09-22 20:50:12 +08:00
Martin Husemann b1fd3b72cf Make NetBSD/powerpc use the powerpc atomic ops.
NetBSD/powerpc gcc does not predefine __ppc__, but only __powerpc__,
so add that to the preprocessor ifdef cascade to select atomic
ops.
2024-09-22 20:45:12 +08:00
Martin Husemann 37f260bbd4 Make NetBSD use the same xptcall support as others.
These functions are only ELF ABI specific, not really OS specific.
Add powerpc, powerpc64 and sparc64 support for NetBSD
by using the same code as other ELF systems do.
2024-09-22 20:44:57 +08:00
Moonchild efad094b02 Make inaccurate GC stats reporting non-fatal in debug builds.
Not sure why this was fatal as it only hinders being able to report memory
issues to a debugging dev :P
2024-09-22 20:44:32 +08:00
FranklinDM 814a769541 Issue #2251 - Expose unlink ghost windows to about:memory 2024-09-22 20:44:18 +08:00
FranklinDM 97a40adc75 Issue #2251 - Expose ghost window unlinking to release builds. 2024-09-22 20:43:48 +08:00
Moonchild 2b4e577d8e No issue - Fix asserts in debug.
Hashbang parser changes allow more than one EOL which screws up these
assertions' premise. Just remove them as the preconditions are no longer
valid.
2024-09-22 20:43:23 +08:00
Brian Smith 27e66e3f82 No Issue - Fix building for Apple Silicon Mac with Xcode 16. Due to the following LLVM change labels need to be outside .cfi_start/endprocs: https://reviews.llvm.org/D155245 Solution pointed out here is to move the label above .cfi_startproc: https://github.com/libffi/libffi/issues/807 2024-09-22 20:42:53 +08:00
Nia Alarie 4637e2319c media/libcubeb: Use Sun audio backend also on NetBSD 2024-09-22 20:40:46 +08:00