Commit graph

27 commits

Author SHA1 Message Date
Reilly Brogan
c0ef19bc6a firefox: Use XDG Desktop Portals for filepicker
Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2023-09-10 18:36:07 -05:00
Joey Riches
ca0f29c1e5 firefox: Don't override intl.locale.requested
Should resolve T10124.
2022-02-08 18:29:15 +00:00
Joshua Strobl
c63fa0ecb6 firefox: Fix geolocation API suppoart. Resolves T9078. 2020-07-13 13:07:20 +03:00
Joshua Strobl
aa997cf23f firefox: Update to 78.0.2
**Release Notes:**

- [78.0.2](https://www.mozilla.org/en-US/firefox/78.0.2/releasenotes/)
- [78.0.1](https://www.mozilla.org/en-US/firefox/78.0.1/releasenotes/)
- [78.0](https://www.mozilla.org/en-US/firefox/78.0/releasenotes/)

**Packager Notes:**

- Temporarily disabled use of system ICU. Due to the size of the pending libICU update and other upgrades were are currently set to be performed prior to the libICU update, disabling to ensure various security fixes and privacy features are shipped is preferable.
- Removed old configure options which are no longer [supported upstream](https://hg.mozilla.org/mozilla-central/rev/2c4692d0b6cbdcfef0ae02bf1c0abb20d96d898d).
- Re-organized prefs to make it easier to find and modify defaults.
2020-07-13 10:08:07 +03:00
Pierre-Yves
b6479a9592 firefox: Update firefox to 77.0
Security:
- CVE-2020-12399: Timing attack on DSA signatures in NSS library
- CVE-2020-12405: Use-after-free in SharedWorkerService
- CVE-2020-12406: JavaScript type confusion with NativeTypes
- CVE-2020-12407: WebRender leaking GPU memory when using border-image CSS directive
- CVE-2020-12408: URL spoofing when using IP addresses
- CVE-2020-12409: Memory safety bugs fixed in Firefox 77 and Firefox ESR 68.9
- CVE-2020-12411: Memory safety bugs fixed in Firefox 77

Full release notes availabe [here](https://www.mozilla.org/en-US/firefox/77.0/releasenotes/)

Resolves T8751

Signed-off-by: Pierre-Yves <pyu@riseup.net>
2020-06-02 23:48:14 +02:00
Pierre-Yves
13c0651da4 firefox: Update firefox to 72.0.1
Security:
- CVE-2019-17026: IonMonkey type confusion with StoreElementHole and FallibleStoreElement
- CVE-2019-17015: Memory corruption in parent process during new content process initialization on Windows
- CVE-2019-17016: Bypass of @namespace CSS sanitization during pasting
- CVE-2019-17017: Type Confusion in XPCVariant.cpp
- CVE-2019-17019: Python files could be inadvertently executed upon opening a download
- CVE-2019-17020: Content Security Policy not applied to XSL stylesheets applied to XML documents
- CVE-2019-17022: CSS sanitization does not escape HTML tags
- CVE-2019-17023: NSS may negotiate TLS 1.2 or below after a TLS 1.3 HelloRetryRequest had been sent
- CVE-2019-17024: Memory safety bugs fixed in Firefox 72 and Firefox ESR 68.4
- CVE-2019-17025: Memory safety bugs fixed in Firefox 72

Packaging:
- Replace Mozilla Location Service API key [see here](https://blog.mozilla.org/services/2019/09/03/a-new-policy-for-mozilla-location-service/)
- Do not force `layers.acceleration.force-enable` to `false` anymore in the default preferences

Resolves T8588

Signed-off-by: Pierre-Yves <pyu@riseup.net>
2020-01-09 06:49:45 +01:00
Joshua Strobl
c85d8df999 firefox: Disable "recommended" add-ons OOTB. 2019-07-09 18:23:17 +03:00
Joshua Strobl
b36f6d686e firefox: Remove Firefox New Tab page "Snippets".
They're basically ads / promotional material. They need to go.
2019-05-31 16:20:52 +03:00
Pierre-Yves
9f789ecefd firefox: Update firefox to 66.0.1
Summary:
Security:
- CVE-2019-9810: IonMonkey MArraySlice has incorrect alias information
- CVE-2019-9813: Ionmonkey type confusion with __proto__ mutations
- CVE-2019-9790: Use-after-free when removing in-use DOM elements
- CVE-2019-9791: Type inference is incorrect for constructors entered through on-stack replacement with IonMonkey
- CVE-2019-9792: IonMonkey leaks JS_OPTIMIZED_OUT magic value to script
- CVE-2019-9793: Improper bounds checks when Spectre mitigations are disabled
- CVE-2019-9794: Command line arguments not discarded during execution
- CVE-2019-9795: Type-confusion in IonMonkey JIT compiler
- CVE-2019-9796: Use-after-free with SMIL animation controller
- CVE-2019-9797: Cross-origin theft of images with createImageBitmap
- CVE-2019-9798: Library is loaded from world writable APITRACE_LIB location
- CVE-2019-9799: Information disclosure via IPC channel messages
- CVE-2019-9802: Chrome process information leak
- CVE-2019-9803: Upgrade-Insecure-Requests incorrectly enforced for same-origin navigation
- CVE-2019-9805: Potential use of uninitialized memory in Prio
- CVE-2019-9806: Denial of service through successive FTP authorization prompts
- CVE-2019-9807: Text sent through FTP connection can be incorporated into alert messages
- CVE-2019-9809: Denial of service through FTP modal alert error messages
- CVE-2019-9808: WebRTC permissions can display incorrect origin with data: and blob: URLs
- CVE-2019-9789: Memory safety bugs fixed in Firefox 66
- CVE-2019-9788: Memory safety bugs fixed in Firefox 66 and Firefox ESR 60.6

Packaging:
- Set `widget.content.gtk-theme-override` to `Adwaita:light` in the preferences to workaround unreadable dark input fields

Release notes available [here](https://www.mozilla.org/en-US/firefox/66.0/releasenotes/)

Resolves T7722

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: Browse a few web sites, check input fields

Reviewers: #triage_team, JoshStrobl

Reviewed By: #triage_team, JoshStrobl

Subscribers: JoshStrobl

Maniphest Tasks: T7722

Differential Revision: https://dev.getsol.us/D5831
2019-03-24 12:15:42 +01:00
Pierre-Yves
ce08b96da8 firefox: Disable hardware acceleration as it might cause issue with suspend for some users
Summary: Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: @Girtablulu reported problem fixed for him when HW acceleration is disabled

Reviewers: #triage_team, JoshStrobl

Reviewed By: #triage_team, JoshStrobl

Subscribers: JoshStrobl, Girtablulu

Differential Revision: https://dev.getsol.us/D4404
2018-11-21 15:13:34 +01:00
Pierre-Yves
db0fc767cf firefox: Update firefox to 63.0.3
Summary:
- Games using WebGL (created in Unity) get stucks after very short time of gameplay
- Slow page loading for some users with specific proxy configurations
- Disable HTTP response throttling by default for causing bugs with videos in background tabs
- Opening magnet links no longer works
- Crash fixes

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: Browse a few web sites and play a video on YT

Reviewers: #triage_team, DataDrake

Reviewed By: #triage_team, DataDrake

Subscribers: DataDrake

Differential Revision: https://dev.getsol.us/D4374
2018-11-17 21:12:45 +01:00
Pierre-Yves
58b93f4d60 firefox: Miscellaneous package updates
Summary:
- Disable PGO
- Build with Clang
- Use system dictionnaries
- Review configure options
- Update solus domain name

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: Launch Firefox, check homepage, check spelling in different languages

Reviewers: #triage_team, sunnyflunk

Reviewed By: #triage_team, sunnyflunk

Subscribers: sunnyflunk

Differential Revision: https://dev.getsol.us/D3815
2018-09-18 13:47:38 +10:00
Ikey Doherty
83b14710df firefox: Don't default to CSD Firefox just yet
It has usability issues under Plasma where it is impossible to manually
resize with the edges (common to all CSD apps under KWin it would seem),
and under Budgie we see weird pixelation around the CSD edges.

Long story short CSD support in Firefox isn't *completely* baked yet, so
we'll allow users to turn it on if they wish, just don't make it default.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-05-09 17:31:42 +01:00
Ikey Doherty
48cba863d3 firefox: Enable CSD by default and apply upstream CSD patches
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-05-09 15:04:22 +01:00
Pierre-Yves
569517dbd9 firefox: Update firefox to 59.0
Summary:
Release notes available [here](https://www.mozilla.org/en-US/firefox/59.0/releasenotes/)

Security
- CVE-2018-5127: Buffer overflow manipulating SVG animatedPathSegList
- CVE-2018-5128: Use-after-free manipulating editor selection ranges
- CVE-2018-5129: Out-of-bounds write with malformed IPC messages
- CVE-2018-5130: Mismatched RTP payload type can trigger memory corruption
- CVE-2018-5131: Fetch API improperly returns cached copies of no-store/no-cache resources
- CVE-2018-5132: WebExtension Find API can search privileged pages
- CVE-2018-5133: Value of the app.support.baseURL preference is not properly sanitized
- CVE-2018-5134: WebExtensions may use view-source: URLs to bypass content restrictions
- CVE-2018-5135: WebExtension browserAction can inject scripts into unintended contexts
- CVE-2018-5136: Same-origin policy violation with data: URL shared workers
- CVE-2018-5137: Script content can access legacy extension non-contentaccessible resources
- CVE-2018-5138: Android Custom Tab address spoofing through long domain names
- CVE-2018-5140: Moz-icon images accessible to web content through moz-icon: protocol
- CVE-2018-5141: DOS attack through notifications Push API
- CVE-2018-5142: Media Capture and Streams API permissions display incorrect origin with data: and blob: URLs
- CVE-2018-5143: Self-XSS pasting javascript: URL with embedded tab into addressbar
- CVE-2018-5126: Memory safety bugs fixed in Firefox 59
- CVE-2018-5125: Memory safety bugs fixed in Firefox 59 and Firefox ESR 52.7

Fixes T6018

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: - Executed a few online benchmarks

Reviewers: #triage_team, JoshStrobl

Subscribers: JoshStrobl, joebonrichie

Tags: #security

Maniphest Tasks: T6018

Differential Revision: https://dev.solus-project.com/D2523
2018-03-15 23:10:44 +01:00
Joshua Strobl
a351c4b829 firefox: Revert enabling u2f. Can cause CSP errors that result in issues on some Google services.
Resolves T5984. Current upstream issue [here](https://bugzilla.mozilla.org/show_bug.cgi?id=1441814).
2018-03-06 00:09:13 +02:00
Joshua Strobl
4cb53a6caa firefox: Enable U2F by default.
Enables devices like Yubikeys to work OOTB with websites which support U2F, like Google and GitHub.
2018-02-28 06:58:14 +02:00
Pierre-Yves
1794d77457 firefox: Update firefox to 57.0.4
Summary:
[Security fixes](https://www.mozilla.org/en-US/security/advisories/mfsa2018-01/) to address the Meltdown and Spectre timing attacks

Packaging:
- Enable Mozilla location service

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: Browsed a few websites and played a video

Reviewers: #triage_team, JoshStrobl

Reviewed By: #triage_team, JoshStrobl

Tags: #security

Differential Revision: https://dev.solus-project.com/D1880
2018-01-05 19:11:14 +02:00
Pierre-Yves
23d1b59ef1 firefox: Remove arc-firefox-theme defaults from Firefox
Summary:
- Remove default theme from Mozilla Firefox

Fixes T4036

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan:
- Open firefox with a new profile
  - Default theme is displayed
  - In add-ons -> apparence, only the Default & 2 Compact themes are shown

Reviewers: #triage_team, ikey

Reviewed By: #triage_team, ikey

Subscribers: ikey

Maniphest Tasks: T4036

Differential Revision: https://dev.solus-project.com/D565
2017-07-13 14:43:45 +01:00
Ikey Doherty
7ce7549ec4 firefox: Enable e10s out of the box
This change forces Firefox onto the release channel so that it is
considered for e10s. As our Firefox build includes the e10srollout
extension by default, we ensure it's activated first by overriding
the remote autostart property. Testing shows this wasn't always the
case with a fresh profile.

As an aside, we do not disable or alter the extension checking logic,
so if Firefox deems the extensions as non compliant, we'll not force
it on and break anything. With the current beta channel of Firefox
54, multiprocessing is enabled by default, so it stands to reason
that on the next update this pref override is unnecessary, and then
we'll be working with 4 minimum processes.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-04-29 18:04:49 +01:00
Ikey Doherty
798ddbd314 firefox: prefs: Set the homepage to be the Solus blog
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-01-22 19:10:46 +00:00
Ikey Doherty
7e7ead1af8 firefox: Disable forced acceleration due to nouveau being awful
https://solus-project.com/forums/viewtopic.php?p=12176#p12176

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-11-11 02:12:15 +00:00
Ikey Doherty
1779489367 firefox: Update to 48.0
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-08-05 00:45:45 +01:00
Ikey Doherty
42e3bedd52 firefox: Force acceleration (Thanks Horst3180!)
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-06-23 19:16:48 +01:00
Ikey Doherty
e33b3c244a firefox: Update to 45.0.2, and now ship with all locales
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-04-12 02:31:50 +01:00
Ikey Doherty
61036acdf8 firefox: Crash less, HTML5 moar
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2015-10-30 20:05:53 +00:00
Ikey Doherty
e0dfe8d76f firefox: Install default preferences and compat link for theming,etc
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2015-10-27 01:59:11 +00:00