DescriptionMerge 134053 - Web Inspector: wrong output for empty object {}
https://bugs.webkit.org/show_bug.cgi?id=101356
Reviewed by Vsevolod Vlasov.
Changed preview formatting to iterate over enumerable properties only + visit the prototypes.
Source/WebCore:
* inspector/InjectedScriptSource.js:
(.):
* inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype._appendObjectPreview):
LayoutTests:
* inspector/console/command-line-api-expected.txt:
* inspector/console/command-line-api-inspect-expected.txt:
* inspector/console/console-format-collections-expected.txt:
* inspector/console/console-format-expected.txt:
* platform/chromium/inspector/console/console-format-collections-expected.txt:
TBR=pfeldman@chromium.org
BUG=162570
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136040
Patch Set 1 #Messages
Total messages: 1 (0 generated)
|