Commit Graph

58 Commits

Author SHA1 Message Date
Pale Moon 75bd676709 Revert "Add a pref to highlight all findings by default"
This reverts commit 2c43af1a7f3c349cba7aa17f2ee971b4476a4e44.
2018-07-25 06:47:28 +08:00
wsdfhjxc 1f545eb3d4 Add a pref to highlight all findings by default 2018-07-25 06:46:20 +08:00
trav90 7ae60742ff Nuke remaining GStreamer code 2018-07-25 06:45:07 +08:00
rhinoduck 7b7ccd5dce Add JXR support to the browser
Can be enabled/disabled at runtime by toggling the 'media.jxr.enabled'
pref (disabled by default).

Two additional prefs are provided for testing purposes:
'media.jxr.autoaccept', and 'media.jxr.advertised_mime_type'
See comments in all.js for information on what these do.

This commit includes the MS OpenTech implementation of the decoder on
the browser side with some fixes applied; see the development in Pale
Moon GitGub issue #105 or my comments in the source code for more
information.
2018-07-25 06:44:47 +08:00
Pale Moon 9a24201702 Update IDN blacklist. 2018-07-25 06:43:50 +08:00
trav90 d5da9a7762 Set GStreamer pref to "false" by default 2018-07-25 06:36:40 +08:00
Pale Moon 8bd908fa4b Reinstate network.stricttransportsecurity.enabled HSTS switch.
Defaults to enabled (HSTS on) but can be flipped to disable the use of the HSTS mechanism, trading security for privacy.
This resolves #830.
2018-07-25 06:36:25 +08:00
trav90 b35d638c39 Revert renaming of "media.fragmented-mp4.enabled" pref 2018-07-25 06:25:06 +08:00
Pale Moon 08e58e7fbb Remove Windows Metro/WinRT code. 2018-07-25 06:25:01 +08:00
trav90 5e4900291c Remove "fragmented-mp4" from media prefs
Shortens and simplifies some pref names.
2018-07-25 06:24:52 +08:00
trav90 30745e7f06 Enable MSE + MP4 by default on Linux 2018-07-25 06:24:34 +08:00
trav90 9bc4e6a5e4 Enable FFmpeg by default if available 2018-07-25 06:24:31 +08:00
trav90 c141b11e90 Remove "media.fragmented-mp4.exposed" pref 2018-07-25 06:24:29 +08:00
trav90 021f2ef2e2 Block libav versions below 54.35.1 2018-07-25 06:24:21 +08:00
Pale Moon 997ff03d64 Stop all scripts in a compartment when "stop script" is used.
This adds a new pref to disable this global kill in case it's needed (when?).
2018-07-25 06:22:10 +08:00
Pale Moon f5e1300644 Regression fix: improve ClearType font rendering for smaller-size core web fonts. 2018-07-25 06:22:01 +08:00
Pale Moon 3fab6b30c5 Stop allowing the saving of off-line data by default (prompt user).
This restores previous behavior from v26.
This resolves #739.
2018-07-25 06:21:51 +08:00
Pale Moon dfdfcf4bb0 Revert "Stop flooding the error console with usually-irrelevant CSS "errors"."
This reverts commit fefd74f992174832392a565035df7865f2a330d7.

See #631 #747
2018-07-25 06:21:24 +08:00
Pale Moon af08825797 Disable unicode-ranges on anything but Windows.
This code is apparently not working yet on *nix, because it uses its own font list system.
Additionally, SSUAO required for Google Fonts on *nix because they don't do anything but UA sniffing. *sigh*
2018-07-25 06:20:59 +08:00
trav90 8870e0e061 Enable MediaFormatReader by default 2018-07-25 01:29:03 +08:00
Pale Moon 4f247be1e8 Correct pref comment typo (no code change) 2018-07-25 01:27:37 +08:00
Pale Moon fcfc1adf3a Lower minimum accepted compatible versions for extensions
- Application version set to 1.5
- Platform version set to 1.8
2018-07-25 01:27:32 +08:00
trav90 e1fbf7147a Put new MediaFormatReader behind a pref
media.format-reader.mp4=true: Will enable the new format decoder for normal MP4
media.mediasource.format-reader.mp4=true: Will enable new format decoder for
MP4 within MSE.

Both are currently defaulted to false.
2018-07-25 01:26:47 +08:00
Pale Moon 3a8a11d2f7 Set ui.key.menuAccessKeyFocuses to "true" by default on Linux 2018-07-25 01:26:40 +08:00
trav90 eab4eee3ef Remove media resource API from PlatformDecoderModule 2018-07-25 01:26:29 +08:00
Pale Moon 8e6251c10c Stop eating space to next word with word selection/navigation.
This resolves #656.
2018-07-25 01:26:25 +08:00
Pale Moon 65eaaa7fb8 Stop flooding the error console with usually-irrelevant CSS "errors".
This fixes #631.
2018-07-25 01:21:20 +08:00
Pale Moon 7be6f3a9d6 Remove pref confusion around cache v2
- Renames browser.cache.use_new_backend to browser.cache.backend
- Sets browser.cache.backend to 1 (use cache v2)
- Removes browser.cache.use_new_backend_temp
2018-07-25 01:21:01 +08:00
Pale Moon 98024e9791 Revert "Enable MSE+WebM VP8/VP9 out-of-the-box."
This causes looping audio issues on the one website where it matters most (YouTube).

This reverts commit 367c6723035f1dd506c04ebd1dcf73d9e392250e.
2018-07-25 01:19:51 +08:00
Pale Moon 36d22eeb83 Enable MSE+WebM VP8/VP9 out-of-the-box. 2018-07-25 01:19:44 +08:00
Pale Moon 129ed2f8dc Unconditionally enable unicode-range CSS support (also in release builds). 2018-07-25 01:19:29 +08:00
NTD 2e3cc8fe65 Move Mozilla DevTools to Platform - Part 4: Move devtools prefs to gre 2018-07-25 01:17:32 +08:00
Pale Moon 3373c7ecf2 Add zone information control for downloaded files.
This resolves #593.
2018-07-25 01:15:55 +08:00
Pale Moon 39dca911c0 Add missing devtools pref 2018-07-25 01:08:40 +08:00
Pale Moon fca3d900d8 Don't build WebRTC code by default.
- Pale Moon users have clearly indicated they don't want WebRTC
- WebRTC code includes a lot of potential security risks (including peer connection leaks)
- WebRTC code relies on old and poorly-supported third party libs

Can still be enabled with --enable-webrtc
Potentially offer as an alt package in the future if demand is high?
2018-07-25 01:03:19 +08:00
Pale Moon 566a6060b7 Re-implement custom background color and handling of standalone images.
- Adds browser.display.standalone_images.background_color handling.
- Sets default image background color to dark slate.
- Removes noise.
- Removes forced light background for transparent images.
2018-07-25 00:57:39 +08:00
Pale Moon ad0b2b8926 Switch to Lanczos scaling from Hamming to get a wider range of acceptable fast downscaling.
Selectively use HQ when scaling factor becomes too large (less than 33.5%).

This resolves #23.
2018-07-25 00:55:37 +08:00
wolfbeast f06d772899 Explicitly tell servers we accept WebP. 2018-07-25 00:55:35 +08:00
adisib 3a303e67f6 replace calls to String.prototype.contains with String.prototype.includes 2018-07-24 23:36:07 +08:00
wolfbeast a7c1903eda Re-implement canvas data poisoning option. 2018-07-24 23:30:35 +08:00
wolfbeast 3203b56513 Port media.autoplay.* changes and enhancements.
This resolves #92.
2018-07-24 23:30:29 +08:00
wolfbeast 5e8558402a Rip out the hard-coded domain whitelist for MSE. 2018-07-24 23:30:25 +08:00
wolfbeast 8b9a01b201 Disable battery API by default to reduce private data exposure to the web. 2018-07-24 23:30:21 +08:00
wolfbeast 75d7cd07c1 Wait up to 1 minute before unloading an idle plugin process. 2018-07-24 23:29:19 +08:00
wolfbeast 1659ac189a Add a pref and control mechanism for GGC and disable it.
Tests show nothing but regressions using GGC, even in Mozilla's own microbench for GC.
Real-time flippable, if needed.
2018-07-24 23:28:54 +08:00
wolfbeast 91d64e3cc0 Change UA compatibility mode to a 3-state.
- Default Gecko Compatibility which is Gecko slice added to Native (for web compat)
- other modes pure native (no gecko slice) and Firefox compatibility (Gecko+Firefox+rv: changed to Firefox compat version)

This removes `general.useragent.compatMode.firefox` and `.gecko` in favor of an int pref.

See also: MoonchildProductions/Pale-Moon#466
2018-07-24 23:28:32 +08:00
wolfbeast 1bba6e5a6b Enable WOFF2 by default. 2018-07-24 23:26:22 +08:00
wolfbeast d0b9edcb9c Add media.default_volume preference 2018-07-24 23:16:55 +08:00
trav90 d7010086e9 Remove conditional SPS Profiler code 2018-07-24 23:15:28 +08:00
trav90 1eda2626aa Remove more crashreporter references/stubs 2018-07-24 23:15:02 +08:00