Teknium
870633cba7
fix(browser): raise the redaction walk cap so real DOM trees survive
...
The 100-level cap truncated ordinary pages: CDP DOM.getDocument spends two
JSON levels per element (node -> children[] -> node), so a page only ~50
elements deep already lost its subtree. Chrome itself refuses to serialize
past ~150 elements (~300 JSON levels), so 320 keeps every DOM Chrome can
return intact while still cutting hostile page-JS values off well below the
interpreter limit (>=340 spare frames on 3.11-3.14).
Tests now drive the walkers without importing the new constants, so they fail
with the real RecursionError on main instead of an ImportError, and pin that
the deepest DOM Chrome returns passes through unchanged.
Co-authored-by: KoNit-K <konit.block@protonmail.com >
2026-10-17 09:11:41 -07:00
..
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-15 22:12:28 +02:00
2026-10-08 21:38:54 -07:00
2026-10-17 08:29:20 -07:00
2026-10-11 19:27:06 +02:00
2026-10-16 05:44:47 -07:00
2026-10-10 17:47:35 -07:00
2026-10-16 07:09:45 -07:00
2026-10-10 17:47:35 -07:00
2026-10-12 03:18:48 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-16 07:43:02 -07:00
2026-10-16 06:22:39 -07:00
2026-10-10 17:47:35 -07:00
2026-10-10 22:49:21 -07:00
2026-10-08 12:09:24 -07:00
2026-10-10 17:47:35 -07:00
2026-10-08 12:09:24 -07:00
2026-10-15 22:12:28 +02:00
2026-10-15 09:25:53 -07:00
2026-10-17 09:11:41 -07:00
2026-10-15 05:23:51 -07:00
2026-10-10 15:20:14 +02:00
2026-10-08 21:29:48 +02:00
2026-10-12 17:31:39 +05:30
2026-10-10 15:20:13 +02:00
2026-10-15 21:17:23 +02:00
2026-10-10 13:29:32 -07:00
2026-10-10 15:20:13 +02:00
2026-10-11 15:00:29 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-12 22:25:50 -05:00
2026-10-16 17:42:48 -04:00
2026-10-08 19:22:03 +02:00
2026-10-09 17:31:52 +02:00
2026-10-13 01:35:42 +05:30
2026-10-14 02:14:52 +05:30
2026-10-13 01:35:42 +05:30
2026-10-14 02:14:52 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 23:55:11 +05:30
2026-10-13 01:35:42 +05:30
2026-10-13 01:35:42 +05:30
2026-10-14 00:32:21 +05:30
2026-10-10 15:20:13 +02:00
2026-10-14 00:06:58 +05:30
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:14 +02:00
2026-10-16 05:44:47 -07:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-11 11:55:56 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:14 +02:00
2026-10-08 19:22:03 +02:00
2026-10-12 13:41:29 -04:00
2026-10-16 19:42:20 -04:00
2026-10-10 15:20:13 +02:00
2026-10-12 22:25:50 -05:00
2026-10-08 19:22:03 +02:00
2026-10-09 17:31:52 +02:00
2026-10-10 15:20:14 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-15 22:12:27 +02:00
2026-10-08 19:22:03 +02:00
2026-10-12 13:41:29 -04:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 12:09:24 -07:00
2026-10-12 13:41:29 -04:00
2026-10-08 19:22:03 +02:00
2026-10-09 15:36:14 -04:00
2026-10-09 15:36:14 -04:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-13 22:51:07 -04:00
2026-10-13 16:31:45 -04:00
2026-10-10 15:20:14 +02:00
2026-10-11 16:53:57 -07:00
2026-10-16 14:19:22 -07:00
2026-10-14 00:32:21 +05:30
2026-10-12 18:25:59 -07:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-10 15:20:13 +02:00
2026-10-09 17:31:52 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 19:22:03 +02:00
2026-10-16 18:37:22 +02:00
2026-10-10 15:20:13 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:31:52 +02:00
2026-10-13 04:04:33 -07:00
2026-10-13 22:51:07 -04:00
2026-10-10 15:20:14 +02:00
2026-10-12 21:34:11 -04:00
2026-10-13 01:04:38 -07:00
2026-10-12 19:13:09 -07:00
2026-10-08 19:22:03 +02:00
2026-10-15 22:25:22 +02:00
2026-10-15 05:23:51 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:14 +02:00
2026-10-14 20:38:07 -04:00
2026-10-11 04:37:57 -07:00
2026-10-08 19:22:03 +02:00
2026-10-11 19:31:36 -07:00
2026-10-16 20:25:10 -07:00
2026-10-10 17:59:08 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-17 04:35:05 -07:00
2026-10-10 15:20:13 +02:00
2026-10-16 07:09:45 -07:00
2026-10-16 14:19:55 -07:00
2026-10-10 17:59:08 -07:00
2026-10-10 17:59:08 -07:00
2026-10-10 15:20:13 +02:00
2026-10-13 16:27:55 -04:00
2026-10-08 19:22:03 +02:00
2026-10-16 19:42:34 -07:00
2026-10-16 07:09:45 -07:00
2026-10-10 17:59:08 -07:00
2026-10-09 10:24:04 -07:00
2026-10-16 17:49:54 -04:00
2026-10-13 23:55:10 +05:30
2026-10-14 00:06:58 +05:30
2026-10-14 00:06:58 +05:30
2026-10-10 15:20:13 +02:00
2026-10-16 07:09:45 -07:00
2026-10-08 21:29:48 +02:00
2026-10-15 21:01:31 +02:00
2026-10-10 02:36:34 -07:00
2026-10-09 13:58:16 -07:00
2026-10-15 22:12:28 +02:00
2026-10-08 19:22:03 +02:00
2026-10-16 15:21:07 -04:00
2026-10-10 15:20:13 +02:00
2026-10-11 16:53:57 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-17 04:23:31 -07:00
2026-10-10 15:20:13 +02:00
2026-10-17 04:23:31 -07:00
2026-10-16 15:03:56 -07:00
2026-10-09 17:31:52 +02:00
2026-10-13 23:55:10 +05:30
2026-10-14 00:29:12 +05:30
2026-10-09 02:34:03 -07:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-10 15:20:14 +02:00
2026-10-08 19:22:03 +02:00
2026-10-08 19:22:03 +02:00
2026-10-14 00:32:21 +05:30
2026-10-09 17:31:52 +02:00
2026-10-12 19:13:09 -07:00
2026-10-17 04:23:04 -07:00