Closed Bug 2056748 Opened 4 months ago Closed

[wpt-sync] Sync PR 61467 - Keep NSColorSampler alive past its selection handler

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox155 fixed)

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 61467 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/61467
Details from upstream follow.

Ana Sollano Kim <ansollan@microsoft.com> wrote:

Keep NSColorSampler alive past its selection handler

Releasing NSColorSampler from inside its own selection handler wedges
the system sampler on macOS Tahoe. Hold an extra retain on the main
queue across the listener notification so AppKit can fully unwind the
handler callout before the sampler is released.

Also add a manual WPT with repeated open/select cycles so the regression
is easier to reproduce and validate.

Bug: 509627745
Change-Id: Iaf463d8c2dcb2503354d64232a52b7f0d69fc5b1
Reviewed-on: https://chromium-review.googlesource.com/7891434
WPT-Export-Revision: e7c3a965879aaebc2adc9d698e769dd5618d667e

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b06ed2c5a597 https://hg.mozilla.org/integration/autoland/rev/86e04fb85892 [wpt PR 61467] - Keep NSColorSampler alive past its selection handler, a=testonly

Test result changes from PR not available.

Status: NEW → RESOLVED
Closed: 4 months ago
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.