Devtools: console object preview shown incorrect method name
Reported by
debugz...@gmail.com,
Jun 20 2016
|
|||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2772.0 Safari/537.36
Steps to reproduce the problem:
1. Run this code snippet.
2. expand evaluated result.
3.
What is the expected behavior?
What went wrong?
Incorrect method name.
Did this work before? N/A
Chrome version: 53.0.2772.0 Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 21.0 r0
code snippet:
var A = class {
constructor() { /* function Incorrect(){} */ }
static what() {
return;
//function static Incorrect(){}
}
};
window.a = new A;
,
Jun 20 2016
,
Jul 26 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/315221fd016a876336d25c4043e0d28a7c45df34 commit 315221fd016a876336d25c4043e0d28a7c45df34 Author: kozyatinskiy <kozyatinskiy@chromium.org> Date: Tue Jul 26 20:09:50 2016 [DevTools] Fix function property preview in ObjectPropertySection Without patch regexp could be matched to function declaration inside of comment. BUG= 621387 R=luoe@chromium.org,lushnikov@chromium.org Review-Url: https://codereview.chromium.org/2178263003 Cr-Commit-Position: refs/heads/master@{#407895} [modify] https://crrev.com/315221fd016a876336d25c4043e0d28a7c45df34/third_party/WebKit/LayoutTests/inspector/console/console-dir-es6-expected.txt [modify] https://crrev.com/315221fd016a876336d25c4043e0d28a7c45df34/third_party/WebKit/LayoutTests/inspector/console/console-dir-es6.html [modify] https://crrev.com/315221fd016a876336d25c4043e0d28a7c45df34/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
,
Jul 26 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by rnimmagadda@chromium.org
, Jun 20 2016Labels: Needs-Feedback