New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 895604 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: capturing screenshot in multiclient mode resets emulation

Project Member Reported by pfeldman@chromium.org, Oct 15

Issue description

- Start browser with window size 1x1
- In client A, emulate device metrics to be 500x800
- In client B query layout metrics, comes 500x800
- In client B, invoke Page.captureScreenshot
- In client B query layout metrics, comes 1x1

The issue is that client B was not aware of the emulation set up by client A and upon restoring emulation post-capture, it resets it to 1x1. 
 
We probably want a shared emulation state between multiple clients here.
Cc: l...@chromium.org lushnikov@chromium.org
 Issue 823218  has been merged into this issue.

Sign in to add a comment