Claude Bot
ca194a1b51
Fix regression in plugin onLoad validation causing missing error throws
...
The cleanup-onloadresult branch introduced a regression where invalid onLoad
objects no longer throw errors when they should. Specifically:
1. Empty objects ({}) without contents property weren't throwing errors
2. Objects with invalid contents types (e.g., numbers) weren't being validated properly
The issue was in handleOnLoadResultNotPromise where the validation logic was
restructured but the error handling for missing or invalid contents was broken.
Fixed by:
- Properly checking for missing contents (undefined/null) before processing
- Adding comprehensive validation for invalid contents types
- Ensuring all code paths return appropriate error results
Fixes failing test: "invalid onLoad objects throw"
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-06 22:59:15 +00:00
..
2025-08-01 23:38:34 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-08-05 20:52:16 -07:00
2025-07-25 12:38:06 -07:00
2025-08-04 19:21:28 -07:00
2025-07-22 17:51:38 -07:00
2025-08-06 22:59:15 +00:00
2025-07-29 18:07:15 -07:00
2025-08-05 05:12:22 -07:00
2025-08-05 16:10:29 -07:00
2025-07-30 16:37:07 -07:00
2025-07-25 12:38:06 -07:00
2025-07-25 12:38:06 -07:00
2025-08-04 19:42:40 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-25 12:38:06 -07:00
2025-08-01 02:05:56 -07:00
2025-07-17 03:13:48 -07:00
2025-08-05 05:12:22 -07:00
2025-08-05 20:52:16 -07:00
2025-07-25 12:38:06 -07:00
2025-08-05 16:10:29 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-25 16:22:04 -07:00
2025-07-31 22:07:17 -07:00
2025-07-22 17:51:38 -07:00
2025-07-31 16:26:35 -07:00
2025-08-05 20:52:16 -07:00
2025-07-23 17:10:58 -07:00
2025-07-30 00:46:42 -07:00
2025-07-23 17:10:58 -07:00
2025-07-27 23:32:06 -07:00
2025-07-30 00:09:42 -07:00
2025-08-04 19:41:20 -07:00
2025-07-29 18:07:15 -07:00
2025-08-04 13:07:42 -07:00
2025-07-21 13:26:47 -07:00
2025-08-04 19:21:28 -07:00
2025-07-22 17:51:38 -07:00
2025-06-04 19:41:26 -07:00
2025-07-28 15:43:54 -07:00
2025-07-22 17:51:38 -07:00
2025-07-27 16:55:55 -07:00
2025-05-14 18:42:42 -07:00
2025-07-29 19:35:46 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-20 23:04:17 -07:00
2025-07-29 18:07:15 -07:00
2025-08-05 20:52:16 -07:00
2025-07-22 17:51:38 -07:00
2025-06-12 14:20:28 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-08-05 20:52:16 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-07-31 00:56:50 -07:00
2025-07-22 12:53:53 -07:00
2025-08-04 23:33:29 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-28 00:13:17 -07:00
2025-07-21 13:26:47 -07:00
2025-05-08 23:22:16 -07:00
2025-05-08 23:22:16 -07:00
2025-07-22 17:51:38 -07:00
2025-07-25 16:22:04 -07:00
2025-05-08 23:22:16 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-06-03 23:51:03 -07:00
2025-08-01 23:38:34 -07:00
2025-07-25 18:12:21 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-07-28 23:35:46 -07:00
2025-07-09 00:19:57 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-25 13:59:33 -07:00
2025-08-05 20:52:16 -07:00
2025-07-29 18:07:15 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-25 18:12:21 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-08-05 20:52:16 -07:00
2025-07-22 17:51:38 -07:00
2025-07-25 12:38:06 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-06-22 20:51:45 -07:00
2025-07-22 17:51:38 -07:00
2025-07-30 00:46:42 -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-07-30 00:10:03 -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-07-25 12:38:06 -07:00
2025-08-04 13:07:42 -07:00
2025-07-21 13:26:47 -07:00
2025-08-04 19:21:28 -07:00
2025-07-25 12:38:06 -07:00
2025-07-21 13:26:47 -07:00
2025-07-28 00:13:17 -07:00
2025-05-08 23:22:16 -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-07-21 13:26:47 -07:00
2025-07-25 12:38:06 -07:00
2025-07-22 17:51:38 -07:00
2025-07-23 19:23:54 -07:00
2025-07-20 23:04:17 -07:00
2025-07-25 12:38:06 -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-07-22 17:51:38 -07:00