Commit graph

144 commits

Author SHA1 Message Date
wolfbeast
ff8c58e8db Issue #1498 - Part 6: Remove STS preloadlist pref. 2020-04-03 09:22:00 +08:00
wolfbeast
2996c783d8 Revert #1091 Remove unboxed object code phase 1 + extras.
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-02-27 07:34:57 +08:00
wolfbeast
cda9951c24 [CSS] Add stub for font-variation-settings
This stub is added because websites insist on considering this
very hardware-dependent and O.S.-variable low-level font-control
as a "critical feature" which it isn't as there is 0 guarantee
that font variation settings are supported or honored by any
operating system used by the client.

On top this is a WD status feature that sites shouldn't be using, and
the feature itself is strongly discouraged for use in favor of standard
CSS font manipulation keywords like `font-weight`.
2020-02-13 07:17:37 +08:00
Matt A. Tobin
146d0aa2d2 Issue #1395 - Remove FlyWeb Service 2020-02-08 07:11:37 +08:00
wolfbeast
a085fa5430 Issue #1360 - Part 1: Simplify layers acceleration prefs.
This gets rid of platform-dependent hard-coded defaults, but keeps
build-time blocking if there is no GL provider (in which case layers
acceleration almost certainly won't work because it needs a GL
compositor and would likely crash without)

New prefs are
- layers.acceleration.enabled to enable HWA
- layers.acceleration.force to force it enabled (requires .enabled to be
  set as well)

This is the platform part of this issue. The rest will be front-end work
(Preference UI integration and pref migration)
2020-01-31 07:42:02 +08:00
Gaming4JC
a2e1955dc6 Bug 1271549 - Remove details and summary preference.
Tag UXP Issue #1344
2020-01-31 07:35:02 +08:00
Gaming4JC
8d600c51ed Issue #1366 - Completely remove showModalDialog 2020-01-24 09:28:42 +08:00
Matt A. Tobin
2aca38b372 Issue #1359 - Pointlessly rename greprefs.. again. 2020-01-24 09:28:10 +08:00
wolfbeast
0466317716 Issue #1332 - Enable seeking to next frame by default.
The indicated BZ bug was resolved in Gecko 50, and could have already
been enabled before (since it returns a promise as-required).
With the rest of promise-based media implemented it makes no sense to
keep this disabled on production.
2020-01-17 09:18:57 +08:00
wolfbeast
50fe8f9d20 Issue #1319 - Set some obvious prefs for production builds.
This sets some defaults for production builds that should be
self-explanatory.
2020-01-17 09:18:31 +08:00
wolfbeast
4860ee4709 Issue #1353 - Disable remote jar: URIs by default.
Considering the one exception this was still enabled for on all versions
of Firefox since 45 until our fork point is no longer applicable.
This resolves #1353
2020-01-17 09:17:20 +08:00
wolfbeast
84818be343 No issue - Remove unused network.http.bypass-cachelock-threshold pref. 2020-01-17 09:17:18 +08:00
wolfbeast
540e9c1500 No issue - Don't define gamepad prefs when gamepad support isn't built.
This also sets sane defaults when present. See also #1319.
2020-01-17 09:17:15 +08:00
Gaming4JC
a77fa3ec13 Bug 1322938 - Put <dialog> element behind preference.
Tag #1343
2020-01-09 21:28:00 +08:00
wolfbeast
e26dc7595a Issue #1313 - Bump Firefox compatMode version to 68.9
This resolves #1313.
2019-12-06 07:30:57 +08:00
wolfbeast
23e0d82436 Issue #1291 - Part 4: Update patch files 2019-11-16 06:17:50 +08:00
wolfbeast
ddb1aaaee3 Issue #1291 - Part 3: Update fdlibm to Sept 2019 version 2019-11-16 06:17:48 +08:00
wolfbeast
b6c0bdd7da Issue #1291 - Part 2: Stop using the lib's sqrt() function
Use <cmath>'s functions over fdlibm's for performance reasons.
No significant precision loss when doing this.
2019-11-16 06:17:47 +08:00
wolfbeast
ddb27ac3e9 Issue #1291 - Part 1: Ensure exp(1) returns e exactly (use a const) 2019-11-16 06:17:45 +08:00
wolfbeast
a9493635c6 Issue #80 - Stop building embedded xz lib unified 2019-11-16 06:17:43 +08:00
wolfbeast
cd7696699c Issue #80 - Stop building woff2 lib unified 2019-11-16 06:17:42 +08:00
wolfbeast
792f16c5bf Issue #80 - Stop building brotli lib unified 2019-11-16 06:17:40 +08:00
wolfbeast
66b4db7c31 Issue #1288 - Part 3: Update woff2 component to 1.0.2 2019-11-15 14:23:58 +08:00
wolfbeast
729ee0f18a Issue #1288 - Part 1a: Update brotli to 1.0.7
This also reorganizes the exports in the build system to use `brotli/`
as include directory.
2019-11-15 14:23:54 +08:00
wolfbeast
03da6250e7 Issue #618 - Flip on module type scripting. 2019-11-11 22:04:45 +08:00
janekptacijarabaci
408d61b4f0 Bug 1330657 - Enable <script type="module"> behind a pref 2019-11-11 21:54:58 +08:00
wolfbeast
fe92ae641a Issue #1275 - Add pref to disable warning prompts for SuperfluousAuth
and AutomaticAuth, and default to not prompting.

This resolves #1275.
2019-11-08 09:38:17 +08:00
athenian200
45bf760ac5 MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
2019-11-04 11:54:07 +08:00
athenian200
63e0d2e326 MoonchildProductions#1251 - Part 15: fdlibm should provide definition for u_int32_t and u_int64_t.
https://bugzilla.mozilla.org/show_bug.cgi?id=1350355

u_int32_t is not an stdint.h type. Windows already requires this, Solaris needs it too. If someone has a nit with this approach, the alternatives include:

1. Just replacing every instance of u_int32_t with uint32_t.

2. Including <sys/types.h> for Solaris only, which does define this.

3. Changing the original ifdef to be WIN32 || XP_SOLARIS

But it really doesn't matter how you solve this problem, all of the approaches are functionally equivalent, and this one has been used in Firefox since version 55. As far as I can tell, all it does is apply a fix that was being done for Windows already to any platform that needs it.
2019-11-04 11:52:36 +08:00
athenian200
b652dd59ae MoonchildProductions#1251 - Part 7: All the posix_m* memory-related stuff, gathered together.
https://bugzilla.mozilla.org/show_bug.cgi?id=1158445
https://bugzilla.mozilla.org/show_bug.cgi?id=963983
https://bugzilla.mozilla.org/show_bug.cgi?id=1542758

Solaris madvise and malign don't perfectly map to their POSIX counterparts, and some Linux versions (especially Android) don't define the POSIX counterparts at all, so options are limited. Ideally posix_madvise and posix_malign should be the safer and more portable options for all platforms.
2019-11-04 11:52:22 +08:00
wolfbeast
2df83f4801 Issue #1231 - Correct defines for Mac and keep universal prefs generic. 2019-10-25 12:00:03 +08:00
adeshkp
c6714e1279 Issue #1231 - Stop using ICC profiles on Linux.
General consensus seems to be that color management on Linux desktops
is not mature enough to enable by default.
2019-10-05 07:21:50 +08:00
Ascrod
53bfc43dbe Issue #999 - Disable native file picker by default. 2019-08-17 13:33:40 +08:00
wolfbeast
d358080b7f Clarify comment with security.fileuri.unique_origin 2019-07-22 19:45:05 +08:00
wolfbeast
64191e15cb Treat all file: URIs as having a unique origin.
This prevents cross-file access from files loaded into the browser from
the local file system, further restricting the origin policy of file:
URIs.

Added a pref to control this behavior for local file access if required
for certain applications, since this change might break using the
browser to run applications on the local file system that require
access to local files.
2019-07-22 19:45:02 +08:00
wolfbeast
8ad0b46284 Block http auth prompt for cross-origin image subresources by default.
Still allow this to be bypassed with a pref for those really rare corner
cases where images are loaded cross-origin by design and the session
hasn't been/can't be authenticated ahead of time.
2019-07-19 10:03:21 +08:00
wolfbeast
797f3eae35 Add preference to allow the loading of FTP subresources for corner cases 2019-07-19 10:03:17 +08:00
wolfbeast
f5923f0626 Add Atomics.notify instead of Atomics.wake according to revised spec.
- Keep .wake as an alias until we're certain it can be removed.
- Enable SAB memory
2019-06-15 06:27:46 +08:00
wolfbeast
8ad58ee574 Disallow res external protocol handler. 2019-05-31 07:21:35 +08:00
Gaming4JC
4ab1401ee6 Issue #1102 - Disable <meta http-equiv=set-cookie>
Create a new pref 'dom.meta-set-cookie.enabled' which is set to 'false', disabling http-equiv meta cookies.
2019-05-31 07:17:21 +08:00
wolfbeast
3c6346afa9 Unhook Unboxed Objects option 2019-05-24 21:55:41 +08:00
Ascrod
c6b9a5aa9f Remove geo-specific search engine default preferences. Tag #245. 2019-04-27 08:25:27 +08:00
wolfbeast
c64dc935f9 Remove Firefox Accounts service and tie-ins.
See previous commit for removal of browser identity module.
2019-04-19 09:40:31 +08:00
wolfbeast
83ab16d267 Remove some BEOS 1st party code leftovers. 2019-04-19 09:34:04 +08:00
wolfbeast
09ad6f03c9 Remove AIX 1st party code OS checks, part 2
Issue #186
2019-04-04 20:26:46 +08:00
Florian Quèze
a85e8de713 Bug 1338306 - nsIPrefBranch.get*Pref should support providing a default value, r=bsmedberg. 2019-03-29 22:22:30 +08:00
wolfbeast
eb32b5d7e4 Pref the use of unboxed plain objects in JS and disable by default.
This should be all that's needed for #1017, but verification of
impact is definitely desired.
2019-03-23 06:44:08 +08:00
wolfbeast
c8412ad501 Part 1: network component changes. 2019-03-16 07:02:11 +08:00
wolfbeast
c283102a46 Move default-enable pref to application. 2019-03-02 12:19:25 +08:00
wolfbeast
c50284d997 Revert "Port several Skia upstream fixes."
This reverts commit 260b06c1c96285459947231a93f08e413be89dd0.

This fixes #976
2019-02-17 22:17:28 +08:00