[Webkit-unassigned] [Bug 264916] New: Web Inspector: Support Custom Formatters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 15 18:13:51 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=264916

            Bug ID: 264916
           Summary: Web Inspector: Support Custom Formatters
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: desk at danielcompton.net
                CC: inspector-bugzilla-changes at group.apple.com

Custom Formatters is a protocol to render objects logged to the console (and shown in the debugger) in a more readable format.

It was developed for Chrome, but is now supported in Firefox.

Custom Formatters are particularly important for ClojureScript developers, because ClojureScript's native data structures (maps, sets, vectors, keywords, etc.) do not print readably by default. https://github.com/binaryage/cljs-devtools provides custom formatters to print ClojureScript data structures in a much more readable fashion.

We (Clojurists Together) recently funded work to bring Custom Formatters to Firefox. We're interested in funding work to bring it to WebKit as well, but wanted to gauge interest in this work being done before we contract someone to work on it.

How does the WebKit team feel about support for Custom Formatters being added to WebKit?

Custom Formatters is not on a web standards track, as far as I can tell, but it is extremely helpful for developers. It is also disabled by default, and developers need to enable it to use it.

Spec: https://docs.google.com/document/d/1FTascZXT9cxfetuPRT2eXPQKXui4nWFivUnS_335T3U/preview#heading=h.xuvxhsd2bp05
https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html
https://firefox-source-docs.mozilla.org/devtools-user/custom_formatters/index.html#
https://fxdx.dev/firefox-devtools-custom-object-formatters/
https://www.clojuriststogether.org/news/funding-development-on-custom-formatters-for-firefox/
https://www.clojuriststogether.org/news/firefox-116.0-release/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231116/190f54fe/attachment.htm>


More information about the webkit-unassigned mailing list