head	1.1;
access;
symbols;
locks; strict;
comment	@ * @;


1.1
date	2026.08.24.12.51.47;	author ryoon;	state Exp;
branches;
next	;
commitid	MFLCFv64IvfDfTSG;


desc
@@


1.1
log
@www/firefox: Update to 154.0

* Generate and use more generic PLIST.

Changelog:
154.0:
New

  * Firefox's Local Network Access protections now extend to WebSocket
    connections. Websites that try to open a WebSocket to a device on the local
    network will now ask for permission first.

  * In Smart Window, Firefox can now suggest groups of related tabs and propose
    a name for each group.

  * Firefox on Windows is now a supported browser for NVIDIA GeForce NOW,
    letting users stream supported PC games directly in the browser.

  * Local Firefox profile backups are now available on macOS in addition to
    Windows and Linux, and backups can be restored across all three platforms.

  * Sites can now be exempted from having their cookies and site data cleared
    on shutdown without also being exempted from tracking protection and other
    cookie restrictions.

  * The full-page Translations feature now translates <iframe> content.

  * The full-page Translations feature now runs language identification on all
    page loads, resulting in an improved experience for offering translations
    to users.

  * Windows users can now choose a different Firefox app icon in Settings. This
    is not yet available for MSIX installations, macOS, or Linux, but is coming
    soon.

  * The address bar now includes a Manage AI quick action that opens the AI
    controls in Settings.

  * Performing a hard reload on a page (holding Shift while clicking the
    Refresh button) now also clears and updates its cached favicons.

Fixed

  * Fixed an issue on macOS where closing a browser window could leave behind
    an invisible window that continued to capture mouse clicks over the area
    where it used to be.

  * Fixed an issue on Windows where an auto-hiding taskbar would not appear
    until the Firefox window had been minimized and restored after launch.

  * Fixed an issue where the Windows taskbar would appear in front of a full
    screen Picture-in-Picture window.

  * Fixed the Vertical Tabs sidebar staying visible in full screen mode. It now
    hides along with the toolbars and reappears when the cursor moves to the
    edge of the screen.

  * Fixed PDF documents not being scaled correctly in print preview when the
    Fit to Page Width option is used.

  * Various security fixes.

Changed

  * Video seeking is now significantly faster on all operating systems, making
    it quicker to jump to a point in a video.

  * Text selected in a PDF is now highlighted the same way as text on a web
    page, and the highlight color follows operating system settings such as
    high-contrast mode.

  * Firefox View is moving out of the toolbar by default for new profiles and
    for profiles where it hasn't been used recently. It can still be opened
    from List all tabs > View all tabs, or added back from the Customize
    toolbar menu.

Security fixes:
Mozilla Foundation Security Advisory 2026-74
#CVE-2026-75874: Sandbox escape in the Remote Settings Client component
#CVE-2026-74934: Site isolation issue in the Graphics: CanvasWebGL component
#CVE-2026-74935: Privilege escalation in the DOM: Networking component
#CVE-2026-74936: Use-after-free in the JavaScript: WebAssembly component
#CVE-2026-74937: Use-after-free in the JavaScript: GC component
#CVE-2026-74938: Mitigation bypass in the JavaScript: GC component
#CVE-2026-74939: Privilege escalation in the DOM: Navigation component
#CVE-2026-74940: Use-after-free in the Graphics: Text component
#CVE-2026-74941: Privilege escalation in the Graphics: CanvasWebGL component
#CVE-2026-74942: Privilege escalation in the Remote Settings Client component
#CVE-2026-74943: Use-after-free in the Graphics: ImageLib component
#CVE-2026-74944: Use-after-free in the DOM: Core & HTML component
#CVE-2026-74945: Information disclosure in the Graphics: Text component
#CVE-2026-74946: Privilege escalation due to incorrect boundary conditions in
 the Graphics: CanvasWebGL component
#CVE-2026-74947: Privilege escalation due to invalid pointer in the Graphics
 component
#CVE-2026-74948: Information disclosure in the Graphics component
#CVE-2026-74950: Privilege escalation in the Downloads API component
#CVE-2026-74951: Clickjacking issue in Firefox for Android
#CVE-2026-74952: Privilege escalation in the Application Update component
#CVE-2026-74953: Privilege escalation in the Networking: Cookies component
#CVE-2026-74954: Information disclosure due to side-channel in the Storage:
 Cache API component
#CVE-2026-74955: Privilege escalation in the Request Handling component
#CVE-2026-74956: Same-origin policy bypass in the DOM: Service Workers
 component
#CVE-2026-74957: Mitigation bypass in the Safe Browsing component
#CVE-2026-74958: Information disclosure in the WebRTC component
#CVE-2026-74959: Mitigation bypass in the Storage: Cache API component
#CVE-2026-74960: Site isolation issue in the WebExtensions component
#CVE-2026-74961: Side-channel in the Web Audio component
#CVE-2026-74962: Site isolation issue in the Networking: Cookies component
#CVE-2026-74963: Same-origin policy bypass in the Networking: Cookies component
#CVE-2026-74964: Integer overflow in the Graphics component
#CVE-2026-74965: Privilege escalation in the Shell Integration component
#CVE-2026-74966: Information disclosure in the Form Autofill component
#CVE-2026-74967: Same-origin policy bypass in the Audio/Video: Playback
 component
#CVE-2026-74968: Site isolation issue in the Graphics: WebRender component
#CVE-2026-74969: Use-after-free in the Layout: Text and Fonts component
#CVE-2026-74970: Site isolation issue in the Graphics component
#CVE-2026-74971: Information disclosure in the DOM: UI Events & Focus Handling
 component
#CVE-2026-74972: Information disclosure in the DOM: Push Subscriptions
 component
#CVE-2026-74949: Use-after-free in the Graphics: Canvas2D component
#CVE-2026-74973: Race condition, use-after-free in the Graphics component
#CVE-2026-74974: Same-origin policy bypass in the Graphics: ImageLib component
#CVE-2026-74975: Spoofing issue in the Downloads component in Firefox for
#CVE-2026-74976: JIT miscompilation in the JavaScript Engine: JIT component
#CVE-2026-74977: Integer overflow in the Graphics component
#CVE-2026-74978: Clickjacking issue in the Widget component
#CVE-2026-74979: Mitigation bypass in the Add-ons Manager component
#CVE-2026-74980: Clickjacking issue in the Downloads component in Firefox for
 Android
#CVE-2026-74981: Site isolation issue in the Audio/Video: Web Codecs component
#CVE-2026-74982: Denial-of-service in the Widget component
#CVE-2026-74983: Mitigation bypass in the Data Loss Prevention component
#CVE-2026-74984: Race condition in the JavaScript Engine component
#CVE-2026-74985: Privilege escalation in the Enterprise Policies component
#CVE-2026-74986: Site isolation issue in the CSS Parsing and Computation
 component
#CVE-2026-74987: Internally found bugs fixed in Firefox ESR 140.14, Firefox ESR
 153.1 and Firefox 154
#CVE-2026-74988: Internally found bugs fixed in Firefox ESR 153.1 and Firefox
 154
#CVE-2026-74989: Internally found bugs fixed in Firefox 154
#CVE-2026-74990: Internally found bugs fixed in Firefox ESR 115.39, Firefox ESR
 140.14, Firefox ESR 153.1 and Firefox 154
@
text
@$NetBSD$

--- gfx/wr/swgl/src/swgl_ext.h.orig	2026-08-12 13:09:04.000000000 +0000
+++ gfx/wr/swgl/src/swgl_ext.h
@@@@ -8,6 +8,8 @@@@
 // efficiently process it and modulate it with color without incurring blend
 // stage overheads.
 #include <cstdint>
+#include <cmath>
+using std::isfinite;
 
 template <typename P, typename C>
 static void commit_masked_solid_span(P* buf, C color, int len) {
@
