Commit Graph

141 Commits

Author SHA1 Message Date
wolfbeast 59f4de4c45 Issue #1291 - Part 4: Update patch files 2019-11-15 15:17:37 +01:00
wolfbeast 5e902a4a9a Issue #1291 - Part 3: Update fdlibm to Sept 2019 version 2019-11-15 15:17:01 +01:00
wolfbeast 6ca0b47043 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-15 14:00:18 +01:00
wolfbeast 85c60f94fb Issue #1291 - Part 1: Ensure exp(1) returns e exactly (use a const) 2019-11-15 13:51:29 +01:00
wolfbeast 2057abd196 Issue #80 - Stop building embedded xz lib unified 2019-11-15 13:02:37 +01:00
wolfbeast 6384cc4b71 Issue #80 - Stop building woff2 lib unified 2019-11-15 13:02:09 +01:00
wolfbeast 3100093f02 Issue #80 - Stop building brotli lib unified 2019-11-15 13:01:47 +01:00
wolfbeast 36975f3865 Issue #1288 - Part 3: Update woff2 component to 1.0.2 2019-11-14 10:02:36 +01:00
wolfbeast 56de283899 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-14 09:07:29 +01:00
wolfbeast ccb7e2c646 Issue #618 - Flip on module type scripting. 2019-11-10 13:35:47 +01:00
wolfbeast 406326715d Issue #618 - Misc fixes (merge conflicts) 2019-11-10 13:02:28 +01:00
wolfbeast 7f5d38150d Issue #1275 - Add pref to disable warning prompts for SuperfluousAuth
and AutomaticAuth, and default to not prompting.

This resolves #1275.
2019-11-07 16:52:33 +01:00
athenian200 687a798e6d 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-10-21 04:53:45 -05:00
athenian200 4f6639a1b3 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-10-21 04:53:42 -05:00
athenian200 3647f42c27 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-10-21 04:53:40 -05:00
wolfbeast 38feb30d4e Issue #1231 - Correct defines for Mac and keep universal prefs generic. 2019-10-21 08:42:45 +02:00
adeshkp 7422dd4fe9 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-09-24 13:59:46 -04:00
Ascrod f7fced09da Issue #999 - Disable native file picker by default. 2019-08-15 18:22:56 -04:00
wolfbeast 408ca49a02 Clarify comment with security.fileuri.unique_origin 2019-07-20 15:02:04 +02:00
wolfbeast 33b6f178d1 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-20 14:56:26 +02:00
wolfbeast 45cb5ab729 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-15 14:13:14 +02:00
wolfbeast d9aff90f06 Add preference to allow the loading of FTP subresources for corner cases 2019-07-14 22:41:01 +02:00
wolfbeast 284b4cffd7 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-12 03:38:40 +02:00
wolfbeast 65991dc1f2 Disallow res external protocol handler. 2019-05-28 14:44:57 +02:00
Gaming4JC ca9e6a4fa9 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-24 20:14:44 -04:00
wolfbeast 3ded48cbe3 Unhook Unboxed Objects option 2019-05-13 15:45:32 +00:00
Ascrod c78cd6fb97 Remove geo-specific search engine default preferences. Tag #245. 2019-04-20 07:29:59 -04:00
wolfbeast de75f133a7 Remove Firefox Accounts service and tie-ins.
See previous commit for removal of browser identity module.
2019-04-19 02:02:56 +02:00
wolfbeast 095ea55685 Remove some BEOS 1st party code leftovers. 2019-04-14 15:47:58 +02:00
wolfbeast a2786c0511 Remove AIX 1st party code OS checks, part 2
Issue #186
2019-04-01 00:11:06 +02:00
Florian Quèze cac3f9678d Bug 1338306 - nsIPrefBranch.get*Pref should support providing a default value, r=bsmedberg. 2019-03-23 19:35:32 -04:00
wolfbeast 890bb438b0 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-21 09:53:24 +01:00
wolfbeast d38ddd92e1 Part 1: network component changes. 2019-03-07 12:45:54 +01:00
wolfbeast c08b490c5c Move default-enable pref to application. 2019-02-28 13:58:23 +01:00
wolfbeast c13bd1bba2 Revert "Port several Skia upstream fixes."
This reverts commit 260b06c1c9.

This fixes #976
2019-02-17 14:58:18 +01:00
wolfbeast a6ddde9097 Port several Skia upstream fixes. 2019-02-14 16:59:52 +01:00
wolfbeast 278eda6a09 Set incremental GC slice to 20 ms duration 2019-01-31 14:55:30 +01:00
wolfbeast 9a954e2d16 Properly camelCase dom.intersectionObserver.enabled pref. 2019-01-19 22:06:35 +01:00
wolfbeast 5ef0018a56 Revert "Disable IntersectionObserver API because of crashes."
This reverts commit ac1beef5c1.
2019-01-19 16:26:35 +01:00
wolfbeast ac1beef5c1 Disable IntersectionObserver API because of crashes.
See #934 and #935.
2019-01-19 11:18:41 +01:00
Ascrod 3afb818f20 Add preference for fully disabling HSTS. 2019-01-16 19:33:09 -05:00
wolfbeast 202e78b731 Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]

See also the discussion on #916.
2018-12-24 05:06:54 +01:00
wolfbeast 4319edc1a6 Re-enable intersection observers with WD spec patches.
This resolves #249
2018-12-22 15:02:49 +01:00
wolfbeast 2e69b03ddd Prevent double free in mar_sign.c 2018-12-13 22:15:37 +01:00
trav90 f68b57c0bd Remove DirectShowReader Part 1: Conditional code 2018-12-01 09:35:02 -06:00
wolfbeast da447504dd Update GMP AUS URL 2018-11-30 06:39:36 +01:00
wolfbeast 7504ca8ab4 Remove VR hardware support.
This resolves #881
2018-11-26 16:41:20 +01:00
wolfbeast 5c83a18cde Update reported Firefox version in compatmode.
This resolves #864
2018-11-07 06:44:17 +01:00
wolfbeast 3c5a34c900 Back out problematic patch causing issue #865.
This reverts commit f62eee7c51.
Verified that a hardening patch landed after this already negates what this patch was a stopgap for, so we no longer need it at all.
2018-11-06 21:58:44 +01:00
wolfbeast d29d1cc84b #863 part 2: Make opportunistic encryption opt-in for UXP
This exposes the new pref and also sets the Alt-Svc pref for OE to false.
Basilisk gets a default opt-in for both to stay close to Firefox.
2018-11-05 15:51:39 +01:00