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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 15 19:04:20 PST 2023


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

--- Comment #1 from Daniel Compton <desk at danielcompton.net> ---
I had a quick chat with dcrousso on WebKit Slack about this (https://webkit.slack.com/archives/CU65DUH7F/p1700101038513779)

dcrousso: as far as this particular feature, i haven't looked at custom formatters in a while, but generally speaking we've avoided things that expose whether Web Inspector is open and i think this may violate that
so that's probably be the first thing that needs to be addressed

dcrousso: if we can figure out a solution to that then anyone is welcome to create a PR and ask for reviews

Daniel Compton: Would custom formatters being disabled by default be a mitigating factor?

dcrousso: possibly? I'm very hesitant to expose anything that lets the page detect Web Inspector so directly (even if disabled by default).
The main concern being the page doing some sort of denial-of-service if Web Inspector is opened and i'm not sure if developers would think/know that custom formatters is a detection mechanism in order to disable it.
If it's something that has to be enabled each session i'm less concerned about a developer forgetting about it being enabled, but i also feel like the experience of that might suck, but if you're ok with that then i think it's perhaps worth exploring/prototyping ��

Daniel Compton: Yeah, enabling it every session wouldn't be much fun. I'll have a look at the spec and see what the options are.

-- 
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/53b8ba32/attachment-0001.htm>


More information about the webkit-unassigned mailing list