Bug 293768

Summary: Web Inspector: implement console.context()
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Karl Dubost
Reported 2025-05-29 15:23:48 PDT
console.context() It provides a mechanism for categorizing the errors separately than the usual log message. https://github.com/whatwg/console/issues/193 > console.context(name) is available in Chrome and Node.js, and returns a new object with a lot of the console members. * Edge Explainer for the feature https://github.com/MicrosoftEdge/MSEdgeExplainers/pull/1006/files * Chrome https://bugs.chromium.org/p/chromium/issues/detail?id=728767 (status: implemented in Chrome) * Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1948870 (status: being implemented in Firefox) Risk: The name context() might be already captured by some JS libraries. https://chromestatus.com/metrics/feature/timeline/popularity/5031 https://github.com/whatwg/console/issues/193#issuecomment-2911455515
Attachments
Radar WebKit Bug Importer
Comment 1 2025-06-05 15:24:22 PDT
Note You need to log in before you can comment on or make changes to this bug.