[feature request] import/export emulated devices data
Reported by
liuway...@gmail.com,
Aug 10
|
|||
Issue descriptionUserAgent: 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:
,
Aug 13
What kind of data you would like to sync?
,
Aug 13
the customized devices
,
Aug 20
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>'))
,
Aug 21
The workaround works when emulator enabled. Thx! |
|||
►
Sign in to add a comment |
|||
Comment 1 by swarnasree.mukkala@chromium.org
, Aug 12