Bug 293768
| Summary: | Web Inspector: implement console.context() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | Web Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/152680213>