Closed Bug 1946501 Opened 1 month ago Closed 1 month ago

ScreenCaptureKit.framework should be a weak_framework

Categories

(Core :: WebRTC: Audio/Video, defect)

Unspecified
macOS
defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 137+ affected
firefox135 --- wontfix
firefox136 --- wontfix
firefox137 --- fixed

People

(Reporter: pierov, Assigned: pierov)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Bug 1914196 added -framework ScreenCaptureKit.
However, older versions of macOS do not support that framework, so it should be a -weak_framework instead (see also the original build file).

Firefox official builds already link it weakly (LC_LOAD_WEAK_DYLIB in otool -l), but some configurations don't (we had this problem downstream with Tor Browser, where we use lld instead of ld64 and we disable WebRTC).

Set release status flags based on info from the regressing bug 1914196

Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/eb4eebfbb001 Make ScreenCaptureKit a weak framework. r=webrtc-reviewers,pehrsons
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

The patch landed in nightly and beta is affected.
:pierov, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox136 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(pierov)

I'm setting wontfix for beta, as Firefox production builds seem not to be affected.
However, I'd like this to be uplifted to ESR.
Thanks!

Flags: needinfo?(pierov)
Attachment #9465375 - Flags: approval-mozilla-esr128?

esr128 Uplift Approval Request

  • User impact if declined: Unofficial Firefox builds that exclude webrtc crash on startup on macos. Downstream users who with that configuration would need to backport the fix on their own.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: -
  • Risk associated with taking this patch: low
  • Explanation of risk level: Not user facing. Only changes build system. Mostly useful for downstream.
  • String changes made/needed: no
  • Is Android affected?: no
Attachment #9466284 - Flags: approval-mozilla-esr128?

Sorry, missed that an uplift request had already been made when looking at https://phabricator.services.mozilla.com/D237085#8200641.

Attachment #9466284 - Attachment is obsolete: true
Attachment #9466284 - Flags: approval-mozilla-esr128?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: