Created attachment 262414 [details] [Image] Bug try { bar(); } catch(error) { console.log(error); console.log("prefix", error); } Expected: Both errors rendered using ErrorObjectView. Actual: console.log("prefix", error) shows an error as an object outline.
<rdar://problem/22967701>
Created attachment 262417 [details] WIP
Created attachment 262433 [details] Patch
Created attachment 262434 [details] [Animated GIF] With the patch applied
Comment on attachment 262433 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262433&action=review r=me > Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js:506 > + const fragment = document.createDocumentFragment(); Maybe its just me, but I think `let` is better than `const` in some of these cases.
Comment on attachment 262433 [details] Patch Clearing flags on attachment: 262433 Committed r190571: <http://trac.webkit.org/changeset/190571>
All reviewed patches have been landed. Closing bug.