Console object keys are no longer enumerable.
Reported by
muhanadr...@gmail.com,
Apr 24 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3078.0 Safari/537.36 Steps to reproduce the problem: 1. Open Chrome devTools 2. Enter Object.keys(console) 3. Notice return value: an array with one key ["memory"]. What is the expected behavior? Expected the return of Object.keys(console) to return the full list of methods on Console object. just like in previous versions of chrome. ["debug", "error", "info", "log", "warn", "dir", "dirxml", "table", "trace", "group", "groupCollapsed", "groupEnd", "clear", "count", "assert", "markTimeline", "profile", "profileEnd", "timeline", "timelineEnd", "time", "timeEnd", "timeStamp", "memory"] What went wrong? Method keys on Console object, are no longer enumerable. Did this work before? Yes MAC OSX : Version 58.0.3029.81 (64-bit) Does this work in other browsers? Yes Chrome version: 60.0.3078.0 Channel: canary OS Version: OS X 10.11.6 Flash Version:
,
Apr 24 2017
,
Apr 24 2017
Able to reproduce the issue on Windows-7, Mac-10.12.4 and Linux Ubuntu-14.04 using Chrome canary 60.0.3078.0. This is regression issue, broken in M-60. Manual Bisect: -------------- Good Build-60.0.3074.0 -(Revision-465085) Bad Build -60.0.3075.0- (Revision-465641) Per revision bisect Tool Info: ------------------------------ https://chromium.googlesource.com/chromium/src/+log/0f47d06919be1dfd8a307f2dca899612dcb68f9a..8267f48654eb20e9d6453b53f2da310953d244f1 Possible suspect: ----------------- https://chromium.googlesource.com/v8/v8/+log/da4ccf0f..207d5c39 kozyatinskiy@ Kindly take a look and please help us to reassign this issue to a right owner if not with respect to this change. Thanks.!
,
Apr 24 2017
,
Apr 25 2017
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/70e58e70cbf0b2be2f68840c6adbf653afb1e277 commit 70e58e70cbf0b2be2f68840c6adbf653afb1e277 Author: kozyatinskiy <kozyatinskiy@chromium.org> Date: Tue Apr 25 22:17:24 2017 [inspector] console property should be enumerable BUG= chromium:714486 R=dgozman@chromium.org Review-Url: https://codereview.chromium.org/2834363003 Cr-Commit-Position: refs/heads/master@{#44873} [modify] https://crrev.com/70e58e70cbf0b2be2f68840c6adbf653afb1e277/src/bootstrapper.cc [modify] https://crrev.com/70e58e70cbf0b2be2f68840c6adbf653afb1e277/test/inspector/runtime/console-spec-expected.txt [modify] https://crrev.com/70e58e70cbf0b2be2f68840c6adbf653afb1e277/test/inspector/runtime/console-spec.js
,
Apr 26 2017
fixed in ToT, will be available in Canary tomorrow. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ranjitkan@chromium.org
, Apr 24 2017