Summary: | Log quirks on the Console of Web Inspector when browsing a website | ||
---|---|---|---|
Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
Component: | WebKit Misc. | Assignee: | Brandon <brandonstewart> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ahmad.saleem792, brandonstewart, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Karl Dubost
2023-11-06 21:29:49 PST
An additional question that could be a separate bug related to this bug. Should the Quirks be documented on an external site (https://webkit.org/)? It could be as simple as one liners. Ahmad had ideas on the type of informations. Note: What should it be done when the Quirk is being matched a couple of times? * Send the information just once per URL? * Send the information every time there is a match (it can become spammy, but we could wrap them like Jon Davis did for Sourcemap errors) Bug 256683 or could it give more information on where exactly the quirk is happening so that the webdev understands how to fix it. From Brandon Stewart, a way to add a message: ``` m_document->addConsoleMessage(makeUnique<Inspector::ConsoleMessage>(MessageSource::JS, MessageType::Log, MessageLevel::Warning, "Quirk is enabled."_s)); ``` |