Claude Bot
c1b80836e0
Add stack overflow checks to URL pathname and string conversion
...
This prevents crashes when setting URL properties (like pathname) to objects
with deeply recursive toString() methods.
The fix adds stack safety checks in two key locations:
1. URL pathname setter - checks stack before attempting string conversion
2. String conversion functions (valueToUSVString, valueToByteString, etc.) -
checks stack before calling toWTFString/toString
When the stack is near its limit, a RangeError is thrown instead of crashing
with an ASAN assertion failure or stack overflow.
Tests verify that:
- Limited recursion (100 calls) throws a proper error instead of crashing
- toString methods that modify URLs work correctly
- Deep recursion (10000 calls) either succeeds or throws RangeError
Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-17 19:58:29 +00:00
..
2025-10-03 17:10:28 -07:00
2025-07-22 17:51:38 -07:00
2025-10-06 06:40:15 -07:00
2025-10-15 14:31:27 -07:00
2025-08-11 20:19:34 -07:00
2025-10-14 20:51:34 -07:00
2025-07-22 17:51:38 -07:00
2025-10-17 19:58:29 +00:00
2025-10-14 20:51:34 -07:00
2025-10-15 17:38:02 -07:00
2025-10-14 19:48:25 -07:00
2025-10-10 03:48:04 -07:00
2025-09-14 04:14:48 -07:00
2025-10-02 14:11:29 -07:00
2025-10-14 19:48:25 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-10-11 19:21:14 -07:00
2025-10-14 19:46:47 -07:00
2025-10-10 22:49:45 -07:00
2025-10-13 11:19:17 -07:00
2025-10-05 17:23:59 -07:00
2025-10-09 19:04:41 -07:00
2025-10-14 19:46:47 -07:00
2025-07-21 13:26:47 -07:00
2025-10-10 03:48:04 -07:00
2025-10-03 17:10:28 -07:00
2025-10-14 19:48:25 -07:00
2025-10-03 17:10:28 -07:00
2025-10-08 18:00:38 -07:00
2025-10-03 16:13:06 -07:00
2025-10-14 20:51:34 -07:00
2025-10-14 19:48:25 -07:00
2025-09-09 20:41:10 -07:00
2025-10-08 18:00:38 -07:00
2025-10-14 17:43:38 -07:00
2025-10-06 19:47:24 -07:00
2025-10-14 19:48:25 -07:00
2025-10-10 03:48:04 -07:00
2025-10-16 21:52:22 -04:00
2025-07-21 13:26:47 -07:00
2025-09-26 13:47:24 -07:00
2025-10-14 19:48:25 -07:00
2025-10-12 11:29:48 -07:00
2025-10-04 02:17:55 -07:00
2025-09-26 13:47:24 -07:00
2025-09-27 00:45:29 -07:00
2025-07-29 19:35:46 -07:00
2025-10-14 19:48:25 -07:00
2025-07-22 17:51:38 -07:00
2025-09-30 05:26:32 -07:00
2025-07-22 17:51:38 -07:00
2025-09-03 18:57:39 -07:00
2025-07-22 17:51:38 -07:00
2025-07-20 23:04:17 -07:00
2025-10-14 19:48:25 -07:00
2025-10-14 19:48:25 -07:00
2025-10-06 19:48:16 -07:00
2025-09-18 19:37:24 -07:00
2025-07-21 13:26:47 -07:00
2025-10-14 16:33:30 -07:00
2025-10-15 17:38:02 -07:00
2025-09-26 15:19:45 -07:00
2025-10-08 18:00:38 -07:00
2025-07-31 00:56:50 -07:00
2025-08-11 20:19:34 -07:00
2025-10-12 14:00:11 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-09-26 22:21:00 -07:00
2025-09-19 02:06:02 -07:00
2025-07-21 13:26:47 -07:00
2025-10-14 19:48:25 -07:00
2025-07-28 00:13:17 -07:00
2025-08-22 23:04:58 -07:00
2025-08-14 18:03:26 -07:00
2025-10-07 12:07:29 -07:00
2025-10-10 03:48:04 -07:00
2025-10-14 16:33:30 -07:00
2025-08-23 06:55:30 -07:00
2025-10-04 00:31:47 -07:00
2025-09-24 00:47:52 -07:00
2025-10-02 14:11:29 -07:00
2025-09-19 02:38:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-09-09 20:41:10 -07:00
2025-10-06 05:39:22 -07:00
2025-07-09 00:19:57 -07:00
2025-10-14 20:51:34 -07:00
2025-07-22 17:51:38 -07:00
2025-08-23 06:55:30 -07:00
2025-07-22 17:51:38 -07:00
2025-10-10 03:48:04 -07:00
2025-10-15 14:31:27 -07:00
2025-10-14 20:51:34 -07:00
2025-09-11 23:29:53 -07:00
2025-10-14 20:51:34 -07:00
2025-07-22 17:51:38 -07:00
2025-10-04 01:56:42 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-07-22 17:51:38 -07:00
2025-09-30 16:14:55 -07:00
2025-10-03 17:10:28 -07:00
2025-07-22 17:51:38 -07:00
2025-09-14 04:14:48 -07:00
2025-10-14 20:51:34 -07:00
2025-10-03 17:13:22 -07:00
2025-07-22 17:51:38 -07:00
2025-09-12 23:59:24 -07:00
2025-09-30 00:10:15 -07:00
2025-09-25 18:03:27 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-09-26 15:15:58 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-09-26 22:21:00 -07:00
2025-09-26 22:21:00 -07:00
2025-09-03 15:40:44 -07:00
2025-09-22 19:28:26 -07:00
2025-07-21 13:26:47 -07:00
2025-10-11 08:23:25 -07:00
2025-07-21 13:26:47 -07:00
2025-10-10 03:48:04 -07:00
2025-07-13 04:27:43 -07:00
2025-07-13 04:27:43 -07:00
2025-07-13 04:27:43 -07:00
2025-10-04 04:57:29 -07:00
2025-10-14 16:33:30 -07:00
2025-07-21 13:26:47 -07:00
2025-09-03 15:40:44 -07:00
2025-07-25 12:38:06 -07:00
2025-07-21 13:26:47 -07:00
2025-09-19 02:06:02 -07:00
2025-10-03 17:10:28 -07:00
2025-07-21 13:26:47 -07:00
2025-10-14 19:48:25 -07:00
2025-07-21 13:26:47 -07:00
2025-10-03 02:38:55 -07:00
2025-10-14 16:33:30 -07:00
2025-07-22 17:51:38 -07:00
2025-08-11 20:19:34 -07:00
2025-07-20 23:04:17 -07:00
2025-08-23 06:55:30 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-09-03 18:57:39 -07:00