RESOLVED INVALID 285419
Uncaught Exception: 'Console.setConsoleClearAPIEnabled' was not found
https://bugs.webkit.org/show_bug.cgi?id=285419
Summary Uncaught Exception: 'Console.setConsoleClearAPIEnabled' was not found
idoay
Reported 2025-01-06 03:31:43 PST
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
Razvan Caliman
Comment 1 2025-01-06 04:06:00 PST
`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
Comment 2 2025-01-13 03:32:15 PST
Razvan Caliman
Comment 3 2025-01-15 10:04:07 PST
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
Comment 4 2025-03-28 12:10:04 PDT
*** Bug 290608 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.