RESOLVED FIXED 93713
Web Inspector: render arrays as dir in case they were logged into console prior to the front-end opening.
https://bugs.webkit.org/show_bug.cgi?id=93713
Summary Web Inspector: render arrays as dir in case they were logged into console pri...
Pavel Feldman
Reported 2012-08-10 05:40:57 PDT
When the user code does console.log() of arrays prior to front-end opening, we dump them in expanded user-friendly manner: [0,0,0] [0,0,1] [0,0,2] However, if this is the same array modified and logged over and over, we confuse user via outputting its last state: [0,0,2] [0,0,2] [0,0,2] In order to avoid the confusion, I'm suggesting that we dump potentially outdated arrays using the "dir" representation, i.e. Array[3]
Attachments
Patch (17.96 KB, patch)
2012-08-10 08:26 PDT, Pavel Feldman
vsevik: review+
Pavel Feldman
Comment 1 2012-08-10 08:26:14 PDT
Pavel Feldman
Comment 2 2012-08-10 08:42:43 PDT
Dean Jackson
Comment 4 2012-08-10 16:01:39 PDT
Note You need to log in before you can comment on or make changes to this bug.