DevTools: Changing to a non-art device breaks |
|||
Issue description
TypeError: Cannot read property 'top' of undefined TypeError: Cannot read property 'top' of undefined
1. look at nexus 5x, then change to 6p
2. then change to Galaxy 5S
Breaks. Exception follow.
inspector.js:1503 TypeError: Cannot read property 'top' of undefined TypeError: Cannot read property 'top' of undefined
at Object._applyDeviceMetrics (inspector.js:10704)
at Object._calculateAndEmulate (inspector.js:10696)
at Object._scaleSettingChanged (inspector.js:10685)
at Object.dispatchEventToListeners (inspector.js:768)
at Object.set (inspector.js:1157)
at Object.emulate (inspector.js:10654)
at Object._emulateDevice (inspector.js:10743)
at Object._itemSelected (inspector.js:2159)
at Object._onItemSelected (inspector.js:2157)
at Object.dispatchEventToListeners (inspector.js:768)
,
Apr 27 2016
,
Apr 28 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8da946c11d2f47b862fbf0b3c146ea2517966bc2 commit 8da946c11d2f47b862fbf0b3c146ea2517966bc2 Author: mmccoy <mmccoy@chromium.org> Date: Thu Apr 28 14:45:48 2016 [DevTools] If no device frame art is available, ensure neutral inset values are defined when applying metrics. BUG= 605724 Review-Url: https://codereview.chromium.org/1929603002 Cr-Commit-Position: refs/heads/master@{#390374} [modify] https://crrev.com/8da946c11d2f47b862fbf0b3c146ea2517966bc2/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
,
Apr 28 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mmccoy@chromium.org
, Apr 27 2016