Commit Graph

129 Commits

Author SHA1 Message Date
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
wolfbeast 80610e5548 Port several Skia upstream fixes. 2019-02-16 00:28:31 +08:00
wolfbeast 191530d0cf Set incremental GC slice to 20 ms duration 2019-02-16 00:27:41 +08:00
wolfbeast 3cc2485e42 Properly camelCase dom.intersectionObserver.enabled pref. 2019-02-16 00:24:32 +08:00
wolfbeast 125d551bd6 Revert "Disable IntersectionObserver API because of crashes."
This reverts commit ac1beef5c10a114afe18897d5d3ced24ac378b92.
2019-02-16 00:24:31 +08:00
wolfbeast bc84969432 Disable IntersectionObserver API because of crashes.
See #934 and #935.
2019-02-16 00:24:27 +08:00
Ascrod 57ca286478 Add preference for fully disabling HSTS. 2019-02-16 00:24:23 +08:00
wolfbeast 69919870c1 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.
2019-02-16 00:23:07 +08:00
wolfbeast 4294fe3e81 Re-enable intersection observers with WD spec patches.
This resolves #249
2019-02-16 00:23:02 +08:00
wolfbeast a959f4717e Prevent double free in mar_sign.c 2019-02-16 00:22:17 +08:00
trav90 93510088fb Remove DirectShowReader Part 1: Conditional code 2019-02-16 00:20:54 +08:00
wolfbeast 11d4109cb8 Update GMP AUS URL 2019-02-16 00:20:36 +08:00
wolfbeast 9b1124ccbd Remove VR hardware support.
This resolves #881
2019-02-16 00:20:27 +08:00
wolfbeast 54b231bfb6 Update reported Firefox version in compatmode.
This resolves #864
2019-02-16 00:19:06 +08:00
wolfbeast 0745ec7c54 Back out problematic patch causing issue #865.
This reverts commit f62eee7c510238bf93b6ad43acd8b8a79a44417c.
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.
2019-02-16 00:19:04 +08:00
wolfbeast 0c4fe21435 #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.
2019-02-16 00:19:01 +08:00