[Webkit-unassigned] [Bug 159257] New: console.log doesn't display object correctly if followed by delete
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 29 03:48:09 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159257
Bug ID: 159257
Summary: console.log doesn't display object correctly if
followed by delete
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zajec5 at gmail.com
Created attachment 282338
--> https://bugs.webkit.org/attachment.cgi?id=282338&action=review
Test case
If we log object right before deleting one of its properties a wrong version appears in the console.
Example:
var test = {};
test.foo = {};
test.foo.bar = "Lorem ipsum";
console.log(test);
delete test.foo.bar;
Logged object doesn't have "bar" property when using:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) rekonq/2.3.2 Safari/537.21
In the past we already had some problem with displaying objects with console.log (#35801) it looks like similar issue (does it help to find a solution?).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160629/46d0bd05/attachment.html>
More information about the webkit-unassigned
mailing list