New issue
Advanced search Search tips

Issue 647256 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 680115
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

[DevTools] update objects shown in frontend when they are changed on backend

Reported by tusharm...@gmail.com, Sep 15 2016

Issue description

Chrome Version       :  53.0.2785.101 (64-bit)
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari:
    Firefox:
         IE:

What steps will reproduce the problem?
(1) Go to any website (Eg. http://www.chromium.org/for-testers/bug-reporting-guidelines)
(2) Open dev tools
(3) Select Any DOM element Eg. -

var el = document.querySelector('#sites-canvas-main-content > table > tbody > tr > td > div > ul:nth-child(4) > ul > li:nth-child(1) > a')

(4) view properties in the properties view.
(5) Change a property 

el.__TEST = 'TEST'

What is the expected result?
The properties should show the new properties


What happens instead?
Properties don't change until you select another dom node and select this one again.


Please provide any additional information below. Attach a screenshot if
possible.

 
Screen Shot 2016-09-15 at 8.03.43 PM.png
919 KB View Download
Components: Platform>DevTools
Components: -Platform>DevTools Platform>DevTools>HTML
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for reporting this. I was able to repro with Linux 53.0.2785.113 (Official Build) (64-bit).
Owner: kozyatinskiy@chromium.org
Alexey, could you please take a look?
Labels: -Type-Bug Type-Feature
Summary: [DevTools] update objects shown in frontend when they are changed on backend (was: chrome devtools dom properties not getting updated)
It's actually not DOM properties only problem - we have the same problem everywhere: in scopes on pause, in console, in other panels.
We have actually to options here:
- provide refresh button for each object tree outline which represents JavaScript object,
- send additional notification remoteObjectChanged if reported to frontend object was changed - in current V8 implementation - it's not possible to implement it without huge performance penalty.
Owner: kozy@chromium.org

Comment 6 by kozy@chromium.org, Dec 5 2017

Mergedinto: 680115
Status: Duplicate (was: Assigned)

Sign in to add a comment