Closed Bug 1949339 Opened 1 month ago Closed 27 days ago

Use the proper nsIDOMWindowUtils for popup in collectSampledScrollOffsets

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(1 file)

Botond noticed me that we use SpecialPowers.DOMWindowUtils in collectSampledScrollOffsets. It's not the proper one for popup element cases. We need to use ownerGlobal of the popup element.

As of now, it doesn't matter since there's no automated test using this function inside a different window of the popup.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8ae4d7d45654 Use the proper nsIDOMWindowUtils for popup in collectSampledScrollOffsets. r=botond
Status: ASSIGNED → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: