Open Bug 1525793 Opened 4 years ago Updated 4 months ago

Convert remaining APZAllowZooming() calls into AllowZoomingForDocument() calls


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





(Reporter: bradwerth, Unassigned)



Bug 1501665 patches relax the requirement that the apz.allow_zooming pref must be true to allow resolution zooming. This is so documents displayed in an RDM pane can also be zoomed. All of the callsites for APZAllowZooming() probably should convert to calls to the new AllowZoomingForDocument() function. There may be exceptions. Those callsites may need additional changes in order to have access to a relevant Document pointer.

Component: Responsive Design Mode → Panning and Zooming
Product: DevTools → Core

As mentioned in - not all the call sites can actually get a Document pointer because they run on different threads and processes than where the document is available. So I think this will need a different approach (setting a flag that gets propagated everywhere) and this bug will likely end up being INVALID. Leaving without a priority set for now so it remains in the untriaged queue and we can revisit it as the patches on bug 1501665 evolve.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.