WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
293589
Uncaught Exception: Uncaught TypeError: Cannot read properties of undefined (reading 'isBefore')
https://bugs.webkit.org/show_bug.cgi?id=293589
Summary
Uncaught Exception: Uncaught TypeError: Cannot read properties of undefined (...
nofxboy1234
Reported
2025-05-26 12:08:39 PDT
Created
attachment 475377
[details]
The TypeScript file to test the debug crash Uncaught Exception in Web Inspector. Steps to Reproduce: 1. What were you doing? Include setup or other preparations to reproduce the exception. I have a TypeScript file (attached) that I was debugging. I ran 'bun --inspect-brk doublyLinkedList.ts' I stepped into line 171: console.log(list.get(3)). 2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps. If the commented out lines in get() are uncommented and the last line of get() is commented, then the debugger steps in successfully. 3. What did you expect to have happen? What actually happened? I expected to step into the function without crashing. It seems the direct return of a statement containing an Optional Chaining Operator causes the crash. Uncaught Exceptions: ----------------------- - Uncaught TypeError: Cannot read properties of undefined (reading 'isBefore') (at manifest-yr1khc1r.js:51:272156) ? @ TypeError: Cannot read properties of undefined (reading 'isBefore') ? @ manifest-yr1khc1r.js:51:272156 ? @ manifest-yr1khc1r.js:51:276011) ? @ manifest-yr1khc1r.js:51:279388) ? @ manifest-yr1khc1r.js:51:282794) ? @ manifest-yr1khc1r.js:51:276575) ? @ manifest-yr1khc1r.js:51:278198) ? @ manifest-yr1khc1r.js:51:278783) ? @ manifest-yr1khc1r.js:51:282794) ? @ manifest-yr1khc1r.js:51:277072) ? @ manifest-yr1khc1r.js:51:277266) ----------------------- Notes: Inspected URL: (unknown) Loading completed: true Frontend User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Attachments
The TypeScript file to test the debug crash
(3.30 KB, text/vnd.trolltech.linguist)
2025-05-26 12:08 PDT
,
nofxboy1234
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Razvan Caliman
Comment 1
2025-05-27 08:53:31 PDT
There is no file in Web Inspector matching this pattern: `manifest-yr1khc1r.js` This is likely a bug in bun's clone of Web Inspector frontend code. Please file the issue on
https://github.com/oven-sh/WebKit
nofxboy1234
Comment 2
2025-05-27 10:13:07 PDT
Thank you for having a look. I'll file the issue with Bun.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug