New issue
Advanced search Search tips

Issue 873156 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

[feature request] import/export emulated devices data

Reported by liuway...@gmail.com, Aug 10

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3516.0 Safari/537.36

Steps to reproduce the problem:
support importing/exporting emulated devices data for DevToools.
Thus we can sync customized devices easily.

What is the expected behavior?
A button to import/export the emulated devices data.

What went wrong?
Nothing went wrong

Did this work before? N/A 

Chrome version: 70.0.3516.0  Channel: n/a
OS Version: OS X 10.14.0
Flash Version:
 
Labels: Needs-Triage-M70
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
What kind of data you would like to sync?
the customized devices
custom-devices.png
74.8 KB View Download
Cc: dgozman@chromium.org
Labels: -Pri-2 Pri-3
Owner: l...@chromium.org
Thank you for filing an issue! We'll work on it when the time permits.

Meanwhile, there is a workaround:

- To export: open DevTools on DevTools, type in Console:
  JSON.stringify(Common.settingForTest('customEmulatedDeviceList').get())

- To import: open DevTools on DevTools, type in Console:
  Common.settingForTest('customEmulatedDeviceList').set(JSON.parse('<here goes exported data>'))

Comment 5 Deleted

The workaround works when emulator enabled.
Thx!

Sign in to add a comment