NetBSD Problem Report #56955

From leot@netbsd.org  Sat Aug  6 22:51:42 2022
Return-Path: <leot@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 42F9E1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  6 Aug 2022 22:51:42 +0000 (UTC)
Message-Id: <20220806225141.D275C84D4D@mail.netbsd.org>
Date: Sat,  6 Aug 2022 22:51:41 +0000 (UTC)
From: leot@NetBSD.org
Reply-To: leot@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: www/firefox102 screen capture / tab capture does not work
X-Send-Pr-Version: 3.95

>Number:         56955
>Category:       pkg
>Synopsis:       www/firefox102 screen capture / tab capture does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    leot
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 06 22:55:00 +0000 2022
>Closed-Date:    Wed Sep 20 07:43:04 +0000 2023
>Last-Modified:  Sun Mar 31 15:15:01 +0000 2024
>Originator:     Leonardo Taccari
>Release:        NetBSD 9.99.98
>Organization:
>Environment:


System: NetBSD boh 9.99.98 NetBSD 9.99.98 (GENERIC) #0: Sat Jul 16 19:46:32 CEST 2022 leot@abacus:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	When trying to share the screen with www/firefox102 in
	pkgsrc-current (HEAD of now -- Sat Aug  6 22:47:00 UTC 2022)
	screen capture / tab capture does not work.

	This works on www/firefox91.
>How-To-Repeat:
	Go to <https://mozilla.github.io/webrtc-landing/gum_test.html> and try
	`Screen capture' or `Tab capture'. The windows asking for permission is
	expected and then if allowed the screen capture should be shared
	depending on the window.

	No window opens and the following error is generated on the web site:

	 NotFoundError: The object can not be found here.
>Fix:
	No idea, sorry!

	(Unfortunately also if launched from the terminal no errors or similar
	are printed, if I can help in possibly collect further information or
	anything else please let me know!)

>Release-Note:

>Audit-Trail:
From: Ryo ONODERA <ryo@tetera.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56955: www/firefox102 screen capture / tab capture does not
 work
Date: Mon, 24 Jul 2023 21:22:51 +0900

 Hi,

 I am sorry. I have not noticed this PR.

 I am trying to enable screen capture for www/firefox-115.0.2.
 And I will backport the fix to 102.

 -- 
 Ryo ONODERA // ryo@tetera.org
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56955 CVS commit: pkgsrc/www/firefox
Date: Mon, 24 Jul 2023 14:15:42 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Mon Jul 24 14:15:42 UTC 2023

 Modified Files:
 	pkgsrc/www/firefox: Makefile
 	pkgsrc/www/firefox/files: replace-moz.build.awk

 Log Message:
 firefox: Enable X11 desktop capture

 Fix PR pkg/56955.


 To generate a diff of this commit:
 cvs rdiff -u -r1.562 -r1.563 pkgsrc/www/firefox/Makefile
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/firefox/files/replace-moz.build.awk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56955: www/firefox102 screen capture / tab capture does not work
Date: Mon, 24 Jul 2023 21:08:35 +0200

 Hello Ryo,

 Ryo ONODERA writes:
 >  [...]
 >  Hi,
 >  
 >  I am sorry. I have not noticed this PR.
 >  
 >  I am trying to enable screen capture for www/firefox-115.0.2.
 >  And I will backport the fix to 102.
 >  [...]  

 Do not worry and really great catch!

 I've just updated www/firefox and I can confirm that it fixes it.

 That's great!

 Thank you very much!

From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56955 CVS commit: pkgsrc/www/firefox102
Date: Wed, 26 Jul 2023 15:52:05 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Wed Jul 26 15:52:05 UTC 2023

 Modified Files:
 	pkgsrc/www/firefox102: Makefile
 	pkgsrc/www/firefox102/files: replace-moz.build.awk

 Log Message:
 firefox102: Enable WebRTC X11 desktop capture

 Fix PR pkg/56955.
 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/firefox102/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/firefox102/files/replace-moz.build.awk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Wed, 26 Jul 2023 15:57:23 +0000
State-Changed-Why:
Fixed by <ryoon>, please re-test!

(I should be able to test hopefully in a couple of days
and then I will take care of requesting pullup as well!)

Thank you very much again Ryo!


State-Changed-From-To: feedback->needs-pullups
State-Changed-By: leot@NetBSD.org
State-Changed-When: Mon, 31 Jul 2023 08:20:22 +0000
State-Changed-Why:
Confirmed fixed on pkgsrc-current.

Thank you very much <ryoon>.

Needs pullups to pkgsrc-2023Q2. (I will take care of filling pullup request)


State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: leot@NetBSD.org
State-Changed-When: Mon, 31 Jul 2023 08:28:43 +0000
State-Changed-Why:
Pullup requested via pullup-pkgsrc #6783.


Responsible-Changed-From-To: pkg-manager->leot
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Mon, 31 Jul 2023 08:32:07 +0000
Responsible-Changed-Why:
Take.

All actual works and fix done by <ryoon>, thank you very much again Ryo!

I will take care of remaining steps to request pullup, keep track of it
and then close this PR!



From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56955 CVS commit: [pkgsrc-2023Q2] pkgsrc/www
Date: Sun, 13 Aug 2023 09:01:14 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Aug 13 09:01:14 UTC 2023

 Modified Files:
 	pkgsrc/www/firefox102 [pkgsrc-2023Q2]: Makefile distinfo
 	pkgsrc/www/firefox102-l10n [pkgsrc-2023Q2]: Makefile distinfo
 	pkgsrc/www/firefox102/files [pkgsrc-2023Q2]: replace-moz.build.awk

 Log Message:
 Pullup ticket #6783 - requested by leot
 www/firefox102: Enable WebRTC X11 desktop capture
 Pullup ticket #6788 - requested by nia
 www/firefox102: security fix

 Revisions pulled up:
 - www/firefox102-l10n/Makefile                                  1.14
 - www/firefox102-l10n/distinfo                                  1.13
 - www/firefox102/Makefile                                       1.23-1.24
 - www/firefox102/distinfo                                       1.15
 - www/firefox102/files/replace-moz.build.awk                    1.2

 ---
    Module Name:    pkgsrc
    Committed By:   ryoon
    Date:           Wed Jul 26 15:52:05 UTC 2023

    Modified Files:
            pkgsrc/www/firefox102: Makefile
            pkgsrc/www/firefox102/files: replace-moz.build.awk

    Log Message:
    firefox102: Enable WebRTC X11 desktop capture

    Fix PR pkg/56955.
    Bump PKGREVISION.

 ---
    Module Name:	pkgsrc
    Committed By:	nia
    Date:		Tue Aug  8 15:46:58 UTC 2023

    Modified Files:
    	pkgsrc/www/firefox102: Makefile distinfo
    	pkgsrc/www/firefox102-l10n: Makefile distinfo

    Log Message:
    firefox102: Update to 102.14.0

    Security Vulnerabilities fixed in Firefox ESR 102.14

        #CVE-2023-4045: Offscreen Canvas could have bypassed cross-origin
        restrictions

        #CVE-2023-4046: Incorrect value used during WASM compilation

        #CVE-2023-4047: Potential permissions request bypass via clickjacking

        #CVE-2023-4048: Crash in DOMParser due to out-of-memory conditions

        #CVE-2023-4049: Fix potential race conditions when releasing platform
        objects

        #CVE-2023-4050: Stack buffer overflow in StorageManager

        #CVE-2023-4054: Lack of warning when opening appref-ms files

        #CVE-2023-4055: Cookie jar overflow caused unexpected cookie jar state

        #CVE-2023-4056: Memory safety bugs fixed in Firefox 116, Firefox ESR 115.1,
        Firefox ESR 102.14, Thunderbird 115.1, and Thunderbird 102.14


 To generate a diff of this commit:
 cvs rdiff -u -r1.21.2.1 -r1.21.2.2 pkgsrc/www/firefox102/Makefile
 cvs rdiff -u -r1.13.2.1 -r1.13.2.2 pkgsrc/www/firefox102/distinfo
 cvs rdiff -u -r1.12.2.1 -r1.12.2.2 pkgsrc/www/firefox102-l10n/Makefile
 cvs rdiff -u -r1.11.2.1 -r1.11.2.2 pkgsrc/www/firefox102-l10n/distinfo
 cvs rdiff -u -r1.1 -r1.1.8.1 \
     pkgsrc/www/firefox102/files/replace-moz.build.awk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Wed, 20 Sep 2023 07:43:04 +0000
State-Changed-Why:
Fix pulled up as well.

Thanks <ryoon>, <bsiegert> and <nia>!


From: "Leonardo Taccari" <leot@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56955 CVS commit: pkgsrc/www/firefox115
Date: Mon, 8 Jan 2024 17:39:44 +0000

 Module Name:	pkgsrc
 Committed By:	leot
 Date:		Mon Jan  8 17:39:44 UTC 2024

 Modified Files:
 	pkgsrc/www/firefox115: Makefile
 	pkgsrc/www/firefox115/files: replace-moz.build.awk

 Log Message:
 firefox115: Re-enable screen/tab capture

 Sync replace-moz.build.awk with firefox{102,} so that X11 desktop
 capture works.

 (Re)Fix PR pkg/56955.

 (While here define PKGREVISION only once.)

 PKGREVISION++


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/firefox115/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/firefox115/files/replace-moz.build.awk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56955 CVS commit: [pkgsrc-2023Q4] pkgsrc/www
Date: Sun, 31 Mar 2024 15:14:41 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Mar 31 15:14:40 UTC 2024

 Modified Files:
 	pkgsrc/www/firefox115 [pkgsrc-2023Q4]: Makefile distinfo
 	    mozilla-common.mk
 	pkgsrc/www/firefox115-l10n [pkgsrc-2023Q4]: Makefile distinfo
 	pkgsrc/www/firefox115/files [pkgsrc-2023Q4]: replace-moz.build.awk

 Log Message:
 Pullup ticket #6840 - requested by gutteridge
 www/firefox115: security fix
 www/firefox115-l10n: dependent update

 Revisions pulled up:
 - www/firefox115-l10n/Makefile                                  1.4-1.6
 - www/firefox115-l10n/distinfo                                  1.4-1.6
 - www/firefox115/Makefile                                       1.11-1.13,1.16-1.17
 - www/firefox115/distinfo                                       1.4-1.6
 - www/firefox115/files/replace-moz.build.awk                    1.2
 - www/firefox115/mozilla-common.mk                              1.5-1.6

 ---
    Module Name:    pkgsrc
    Committed By:   he
    Date:           Fri Dec 29 17:29:14 UTC 2023

    Modified Files:
             pkgsrc/www/firefox115: Makefile mozilla-common.mk

    Log Message:
    firefox115: on i386, use -mstackrealign also in CFLAGS.

    Patterned after recent change to firefox: force stack
    re-alignment so that you don't get a segfault when doing
    movdqa %xmm7,(%esp) and %esp is not 16-byte aligned.

    Bump PKGREVISION.

 ---
    Module Name:    pkgsrc
    Committed By:   leot
    Date:           Mon Jan  8 17:39:44 UTC 2024

    Modified Files:
             pkgsrc/www/firefox115: Makefile
             pkgsrc/www/firefox115/files: replace-moz.build.awk

    Log Message:
    firefox115: Re-enable screen/tab capture

    Sync replace-moz.build.awk with firefox{102,} so that X11 desktop
    capture works.

    (Re)Fix PR pkg/56955.

    (While here define PKGREVISION only once.)

    PKGREVISION++

 ---
    Module Name:    pkgsrc
    Committed By:   ryoon
    Date:           Wed Jan 10 15:38:44 UTC 2024

    Modified Files:
             pkgsrc/www/firefox115: Makefile distinfo mozilla-common.mk

    Log Message:
    firefox115: Update to 115.6.0

    Changelog:
    115.6.0:
    * Security fixes.

    Mozilla Foundation Security Advisory 2023-54
    #CVE-2023-6856: Heap-buffer-overflow affecting WebGL
    DrawElementsInstanced
      method with Mesa VM driver
    #CVE-2023-6865: Potential exposure of uninitialized data in
      EncryptingOutputStream
    #CVE-2023-6857: Symlinks may resolve to smaller than expected buffers
    #CVE-2023-6858: Heap buffer overflow in nsTextFragment
    #CVE-2023-6859: Use-after-free in PR_GetIdentitiesLayer
    #CVE-2023-6860: Potential sandbox escape due to VideoBridge lack of
    texture
      validation
    #CVE-2023-6867: Clickjacking permission prompts using the popup
    transition
    #CVE-2023-6861: Heap buffer overflow affected nsWindow::PickerOpen(void)
    in
      headless mode
    #CVE-2023-6862: Use-after-free in nsDNSService
    #CVE-2023-6863: Undefined behavior in ShutdownObserver()
    #CVE-2023-6864: Memory safety bugs fixed in Firefox 121, Firefox ESR
    115.6, and
      Thunderbird 115.6

 ---
    Module Name:    pkgsrc
    Committed By:   ryoon
    Date:           Wed Jan 31 16:18:33 UTC 2024

    Modified Files:
             pkgsrc/www/firefox115: Makefile distinfo

    Log Message:
    firefox115: Update to 115.7.0

    Changelog:
    115.7.0:
    Mozilla Foundation Security Advisory 2024-02
    #CVE-2024-0741: Out of bounds write in ANGLE
    #CVE-2024-0742: Failure to update user input timestamp
    #CVE-2024-0746: Crash when listing printers on Linux
    #CVE-2024-0747: Bypass of Content Security Policy when directive
    unsafe-inline
      was set
    #CVE-2024-0749: Phishing site popup could show local origin in address
    bar
    #CVE-2024-0750: Potential permissions request bypass via clickjacking
    #CVE-2024-0751: Privilege escalation through devtools
    #CVE-2024-0753: HSTS policy on subdomain could bypass policy of upper
    domain
    #CVE-2024-0755: Memory safety bugs fixed in Firefox 122, Firefox ESR
    115.7, and
      Thunderbird 115.7

 ---
    Module Name:    pkgsrc
    Committed By:   gutteridge
    Date:           Mon Mar 25 00:35:50 UTC 2024

    Modified Files:
             pkgsrc/www/firefox115: Makefile distinfo

    Log Message:
    firefox115: update to 115.9.1

    Note there are references to use of Python 3.12 as a build tool now
    being supported, but this has not been tested in pkgsrc as it stands.
    (This has been tested on NetBSD 9.3_STABLE with pkgsrc defaults.)

    115.9.1

    Fixes for mfsa2024-16, also known as CVE-2024-29944

    115.9.0

    Fixes for mfsa2024-13, also known as:
    CVE-2024-0743, CVE-2024-2607, CVE-2024-2608, CVE-2024-2616,
    CVE-2023-5388, CVE-2024-2610, CVE-2024-2611, CVE-2024-2612,
    CVE-2024-2614

    115.8.0

    Fixes for mfsa2024-06, also known as:
    CVE-2024-1546, CVE-2024-1547, CVE-2024-1548, CVE-2024-1549,
    CVE-2024-1550, CVE-2024-1551, CVE-2024-1552, CVE-2024-1553

 ---
    Module Name:    pkgsrc
    Committed By:   ryoon
    Date:           Wed Jan 10 15:39:18 UTC 2024

    Modified Files:
            pkgsrc/www/firefox115-l10n: Makefile distinfo

    Log Message:
    firefox115-l10n: Update to 115.6.0

    * Sync with www/firefox115-115.6.0.

 ---
    Module Name:    pkgsrc
    Committed By:   ryoon
    Date:           Wed Jan 31 16:19:07 UTC 2024

    Modified Files:
            pkgsrc/www/firefox115-l10n: Makefile distinfo

    Log Message:
    firefox115: Update to 115.7.0

    * Sync with www/firefox115-115.7.0.

 ---
    Module Name:    pkgsrc
    Committed By:   gutteridge
    Date:           Tue Mar 26 13:54:13 UTC 2024

    Modified Files:
            pkgsrc/www/firefox115-l10n: Makefile distinfo

    Log Message:
    firefox115-l10n: update to 115.9.1


 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.10.2.1 pkgsrc/www/firefox115/Makefile
 cvs rdiff -u -r1.3 -r1.3.2.1 pkgsrc/www/firefox115/distinfo
 cvs rdiff -u -r1.4 -r1.4.2.1 pkgsrc/www/firefox115/mozilla-common.mk
 cvs rdiff -u -r1.3 -r1.3.2.1 pkgsrc/www/firefox115-l10n/Makefile \
     pkgsrc/www/firefox115-l10n/distinfo
 cvs rdiff -u -r1.1 -r1.1.4.1 \
     pkgsrc/www/firefox115/files/replace-moz.build.awk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.