Bug 285419
Summary: | Uncaught Exception: 'Console.setConsoleClearAPIEnabled' was not found | ||
---|---|---|---|
Product: | WebKit | Reporter: | idoay |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | cftalavera, inspector-bugzilla-changes, rcaliman, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All |
idoay
Uncaught Exception in Web Inspector.
Steps to Reproduce:
1. What were you doing? Include setup or other preparations to reproduce the exception.
2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps.
3. What did you expect to have happen? What actually happened?
Uncaught Exceptions:
-----------------------
- 'Console.setConsoleClearAPIEnabled' was not found (at :undefined:undefined)
? @ Error: 'Console.setConsoleClearAPIEnabled' was not found
? @ manifest-yr1khc1r.js:37:92927)
? @ manifest-yr1khc1r.js:37:92039)
? @ manifest-yr1khc1r.js:37:91045)
? @ manifest-yr1khc1r.js:37:85272)
? @ manifest-yr1khc1r.js:37:1537)
-----------------------
Notes:
Inspected URL: (unknown)
Loading completed: true
Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Razvan Caliman
`manifest-yr1khc1r.js` does not look like a file that ships with Web Inspector
This looks similar to Bug 284114 It looks like a fork of Web Inspector. What project is this from?
Radar WebKit Bug Importer
<rdar://problem/142805703>
Razvan Caliman
The filename `manifest-yr1khc1r.js` looks like the one from the web debug interface opened by `bun --inspect`: https://bun.sh/docs/runtime/debugger#inspect
That project uses a clone of Web Inspector to debug scripts run with the Bun JS runtime.
The exception is likely the assertion here being hit:
https://github.com/WebKit/WebKit/blob/6be91721711b72d037ab6b41b1310d9d76c29aae/Source/WebInspectorUI/UserInterface/Controllers/ConsoleManager.js#L221
This is likely caused by the Bun's Web Inspector client using an older version of the Web Inspector protocol that does not support that command.
Snapshots: https://github.com/WebKit/WebKit/tree/main/Source/WebInspectorUI/UserInterface/Protocol/Legacy
This bug should be filed on the issue tracker for Bun: https://github.com/oven-sh/bun
Razvan Caliman
*** Bug 290608 has been marked as a duplicate of this bug. ***