Open Bug 2002484 Opened 3 months ago Updated 1 month ago

Consider converting GetRDMDeviceSize to use setScreenAreaOverride

Categories

(DevTools :: Responsive Design Mode, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: Sasha, Unassigned)

References

Details

A follow-up from https://phabricator.services.mozilla.com/D273425#inline-1492445.
The platform API added in the scope of bug 2000651 for WebDriver BiDi might be also used for DevTools to simplify the platform code.

The goal here will be to call the new BrowsingContext setScreenAreaOverride from RDM's emulation code (in chrome JS) and explicitly set a size, even if we do not expose it to end users for now. Then we can simplify the internal logic which is automatically computing the size via GetRDMDeviceSize.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.