Michael Wang
4067efc454
fix: present refuses other sites' framing; Studio preview reads only its own frame's messages ( #7877 )
...
* fix(studio): the preview reads hf-preview messages only from its own frame
The preview message router acted on a message with no sender window, and on
any message that arrived before the preview frame existed. It now takes an
hf-preview message only when the preview frame exists, the message comes from
that frame's window, and its origin is one the frame can have: the page's own
origin, or "null" for a sealed frame. The element picker checks the same.
* fix(cli): present sandboxes deck pages another site loads and refuses framing by other sites
present now applies the same another-site decision as play to its
/composition/* route: a load by another site gets a sandbox CSP, its
validators are dropped, and the document is marked so its runtime offers
that site no editing port. Every present response also sends
frame-ancestors 'self' and X-Frame-Options SAMEORIGIN, so only the
presenter page itself can frame the deck. The route setup moves into
buildPresentApp so tests exercise the server as run() builds it.
2026-11-16 00:30:46 +00:00
..
2026-06-27 08:34:43 +08:00
2026-11-15 23:54:43 +00:00
2026-11-15 23:54:43 +00:00
2026-11-09 17:01:38 +00:00
2026-11-09 17:01:38 +00:00
2026-10-18 15:14:48 +00:00
2026-10-18 15:14:48 +00:00
2026-11-09 03:28:52 +00:00
2026-11-10 11:26:45 +00:00
2026-11-01 16:35:35 +00:00
2026-11-01 16:35:35 +00:00
2026-09-28 08:20:22 +00:00
2026-11-05 11:34:36 +00:00
2026-11-05 11:34:36 +00:00
2026-11-05 11:34:36 +00:00
2026-11-04 09:31:52 +00:00
2026-09-28 02:22:12 +00:00
2026-07-14 18:02:51 -04:00
2026-10-26 10:02:49 +00:00
2026-10-15 00:56:06 +00:00
2026-10-26 14:58:57 +00:00
2026-10-26 17:28:50 +00:00
2026-11-11 04:14:45 +00:00
2026-11-11 04:14:45 +00:00
2026-11-12 19:30:02 +00:00
2026-11-12 19:30:02 +00:00
2026-10-29 14:34:07 +00:00
2026-10-30 11:32:18 +00:00
2026-11-14 15:28:36 +00:00
2026-11-14 15:28:36 +00:00
2026-11-08 14:01:58 +00:00
2026-10-25 16:52:39 +00:00
2026-10-25 16:52:39 +00:00
2026-11-07 11:25:11 +00:00
2026-11-07 11:25:11 +00:00
2026-10-29 10:10:58 +00:00
2026-10-26 10:02:49 +00:00
2026-10-26 10:02:49 +00:00
2026-10-26 10:02:49 +00:00
2026-10-26 10:02:49 +00:00
2026-10-26 17:02:57 +00:00
2026-10-23 14:20:17 -07:00
2026-11-06 05:27:36 +00:00
2026-11-06 05:27:36 +00:00
2026-07-24 17:38:58 -07:00
2026-11-03 19:47:13 +00:00
2026-07-26 21:43:42 -07:00
2026-11-14 02:00:15 +00:00
2026-10-23 22:14:44 +00:00
2026-10-28 09:37:17 +00:00
2026-10-15 04:59:59 +00:00
2026-10-15 04:59:59 +00:00
2026-10-21 19:19:31 +00:00
2026-11-14 02:00:15 +00:00
2026-10-26 17:28:50 +00:00
2026-10-26 17:28:50 +00:00
2026-10-26 17:28:50 +00:00
2026-11-11 09:46:52 +00:00
2026-11-11 09:46:52 +00:00
2026-11-11 09:46:52 +00:00
2026-10-28 10:42:10 +00:00
2026-10-28 06:28:44 +00:00
2026-10-21 02:46:17 +00:00
2026-10-21 02:46:17 +00:00
2026-10-31 17:08:22 +00:00
2026-10-31 17:08:22 +00:00
2026-10-28 09:39:06 +00:00
2026-10-28 09:39:06 +00:00
2026-07-17 06:22:00 +00:00
2026-07-17 06:22:00 +00:00
2026-11-15 09:48:01 +00:00
2026-10-24 04:10:49 +00:00
2026-10-24 04:10:49 +00:00
2026-11-15 09:48:01 +00:00
2026-11-16 00:30:46 +00:00
2026-10-26 10:02:49 +00:00
2026-10-26 10:02:49 +00:00
2026-11-15 21:19:22 +00:00
2026-11-05 11:34:36 +00:00
2026-11-05 11:34:36 +00:00
2026-11-05 04:16:27 +00:00
2026-11-05 04:16:27 +00:00
2026-11-05 07:00:55 +00:00
2026-11-05 07:00:55 +00:00
2026-11-14 13:45:08 +00:00
2026-11-14 13:45:08 +00:00
2026-11-04 09:31:52 +00:00
2026-11-04 09:31:52 +00:00
2026-10-28 06:28:44 +00:00
2026-10-27 19:28:49 +00:00
2026-10-27 19:28:49 +00:00
2026-11-15 06:35:32 +00:00
2026-11-15 23:54:43 +00:00
2026-11-09 14:42:37 +00:00
2026-11-12 15:28:44 +00:00
2026-10-21 02:46:17 +00:00
2026-10-13 00:07:37 +00:00
2026-11-15 21:38:30 +00:00
2026-11-11 00:20:55 +00:00
2026-11-11 00:20:55 +00:00
2026-09-19 07:31:39 -04:00
2026-09-19 07:31:39 -04:00
2026-03-21 22:43:56 -07:00
2026-11-04 22:43:24 +00:00
2026-11-15 06:34:14 +00:00
2026-10-29 14:59:11 +00:00
2026-10-28 21:14:09 +00:00
2026-03-25 23:15:34 +00:00
2026-10-27 08:16:01 +00:00
2026-10-27 23:22:08 +00:00
2026-10-24 07:18:47 +00:00
2026-10-24 07:18:47 +00:00
2026-09-22 01:02:19 +00:00
2026-09-22 01:02:19 +00:00
2026-07-14 15:46:47 -04:00
2026-07-14 15:46:47 -04:00
2026-10-04 05:07:49 +00:00
2026-10-04 05:07:49 +00:00
2026-10-24 00:28:10 +00:00
2026-10-24 00:28:10 +00:00
2026-10-03 00:25:43 +00:00
2026-10-31 16:16:06 +00:00
2026-10-31 16:16:06 +00:00
2026-10-28 23:04:48 +00:00
2026-10-28 23:04:48 +00:00
2026-10-27 02:34:19 +00:00
2026-10-27 02:34:19 +00:00
2026-10-21 02:46:17 +00:00
2026-10-28 20:08:50 +00:00
2026-11-15 01:24:20 +00:00
2026-11-15 01:24:20 +00:00
2026-10-28 10:42:10 +00:00
2026-10-28 11:27:49 +00:00
2026-10-30 18:29:50 +00:00
2026-10-30 18:29:50 +00:00
2026-10-27 06:33:50 +00:00
2026-11-15 08:57:32 +00:00
2026-11-15 08:57:32 +00:00
2026-11-15 18:00:18 +00:00
2026-11-15 20:17:48 +00:00
2026-11-15 08:57:32 +00:00
2026-11-15 08:57:32 +00:00
2026-11-07 21:47:17 +00:00
2026-11-07 21:47:17 +00:00
2026-11-04 21:16:31 +00:00
2026-11-04 21:16:31 +00:00
2026-10-17 18:14:02 +00:00
2026-10-17 18:14:02 +00:00
2026-10-21 19:19:31 +00:00
2026-10-21 19:19:31 +00:00
2026-10-30 18:29:08 +00:00
2026-10-30 18:29:08 +00:00
2026-11-15 08:47:04 +00:00
2026-11-15 08:47:04 +00:00
2026-11-04 18:21:36 +00:00
2026-11-04 18:21:36 +00:00
2026-11-02 02:18:03 +00:00
2026-09-19 05:27:35 -04:00
2026-10-28 07:48:40 +00:00
2026-10-28 07:48:40 +00:00
2026-11-01 22:44:11 +00:00
2026-11-13 18:18:17 +00:00
2026-10-24 23:09:57 +00:00
2026-10-21 12:33:58 +00:00
2026-10-24 23:09:57 +00:00
2026-10-09 19:24:06 +00:00
2026-11-04 10:47:39 +00:00
2026-11-04 10:47:39 +00:00
2026-11-15 20:55:40 +00:00
2026-07-16 08:01:56 +00:00
2026-10-28 11:27:49 +00:00
2026-07-08 22:20:16 -04:00
2026-10-13 06:20:31 +00:00
2026-10-26 16:15:54 +00:00
2026-10-26 16:15:54 +00:00
2026-11-15 20:55:40 +00:00
2026-11-15 20:55:40 +00:00
2026-10-23 04:37:09 +00:00
2026-10-23 04:37:09 +00:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-03-21 22:43:56 -07:00
2026-11-11 06:26:24 +00:00
2026-11-11 06:26:24 +00:00
2026-10-26 18:50:41 +00:00
2026-11-02 16:47:05 +00:00
2026-11-02 16:47:05 +00:00
2026-11-02 16:47:05 +00:00
2026-11-15 21:38:30 +00:00
2026-11-15 21:38:30 +00:00
2026-07-13 22:47:28 -04:00
2026-11-05 11:34:36 +00:00
2026-11-04 21:01:53 +00:00
2026-11-04 21:01:53 +00:00
2026-11-05 14:09:22 +00:00
2026-11-05 14:09:22 +00:00
2026-10-24 07:31:54 +00:00
2026-10-24 07:31:54 +00:00
2026-11-15 23:54:43 +00:00
2026-11-12 15:28:44 +00:00
2026-11-12 15:28:44 +00:00
2026-11-15 06:34:14 +00:00
2026-11-15 08:22:52 +00:00
2026-08-10 21:41:21 -04:00
2026-11-15 09:52:49 +00:00
2026-11-15 12:11:56 +00:00
2026-11-15 20:17:48 +00:00
2026-11-15 18:00:18 +00:00
2026-11-15 20:55:40 +00:00
2026-10-25 22:55:35 +00:00
2026-11-10 20:00:58 +00:00
2026-11-15 20:55:40 +00:00
2026-11-13 00:28:05 +00:00
2026-11-13 00:28:05 +00:00
2026-11-15 19:19:11 +00:00
2026-11-15 18:00:18 +00:00
2026-11-15 18:00:18 +00:00
2026-11-09 15:49:21 +00:00
2026-11-09 15:49:21 +00:00
2026-11-14 16:06:47 +00:00
2026-11-14 16:06:47 +00:00
2026-11-11 06:26:24 +00:00
2026-11-11 06:26:24 +00:00
2026-11-15 09:48:01 +00:00
2026-10-26 18:21:04 +00:00
2026-09-16 06:33:29 +00:00
2026-10-20 09:12:43 +00:00
2026-09-28 21:58:06 +00:00
2026-09-28 21:58:06 +00:00
2026-11-04 18:41:56 +00:00
2026-11-04 18:41:56 +00:00
2026-11-04 18:41:56 +00:00
2026-11-04 18:41:56 +00:00
2026-11-05 11:34:36 +00:00
2026-11-05 11:34:36 +00:00
2026-07-14 15:28:52 -07:00
2026-11-14 02:00:15 +00:00
2026-11-05 08:19:17 +00:00
2026-11-05 08:19:17 +00:00
2026-10-25 23:12:14 +00:00
2026-10-25 23:12:14 +00:00
2026-11-15 06:35:32 +00:00
2026-11-15 06:35:32 +00:00
2026-11-03 13:21:39 +00:00
2026-11-09 13:05:30 +00:00
2026-11-09 13:05:30 +00:00
2026-10-21 19:19:31 +00:00
2026-10-18 22:13:37 +00:00
2026-11-09 14:42:40 +00:00
2026-11-09 14:42:40 +00:00
2026-11-04 23:19:51 +00:00
2026-11-04 23:19:51 +00:00
2026-10-20 13:52:43 +00:00
2026-11-15 18:09:10 +00:00
2026-11-02 11:03:55 +00:00
2026-11-15 20:32:40 +00:00
2026-11-15 20:32:40 +00:00
2026-10-11 18:05:11 +00:00
2026-10-11 18:05:11 +00:00
2026-08-19 17:02:44 -04:00
2026-08-19 17:02:44 -04:00
2026-11-05 02:38:12 +00:00
2026-11-05 02:38:12 +00:00
2026-10-07 06:40:37 +00:00
2026-10-07 06:40:37 +00:00
2026-11-15 08:57:32 +00:00
2026-11-15 08:57:32 +00:00
2026-11-11 02:58:32 +00:00
2026-10-02 18:34:53 +00:00
2026-10-27 06:55:05 +00:00
2026-11-05 14:45:30 +00:00
2026-10-26 10:02:49 +00:00
2026-10-26 10:02:49 +00:00
2026-10-27 01:23:02 +00:00
2026-10-27 01:23:02 +00:00
2026-11-11 06:26:24 +00:00
2026-09-28 02:22:12 +00:00
2026-11-11 06:26:24 +00:00
2026-11-11 06:26:24 +00:00
2026-10-15 02:04:55 +00:00
2026-10-15 02:04:55 +00:00
2026-10-30 14:07:40 +00:00
2026-10-30 14:07:40 +00:00
2026-08-31 18:11:20 -04:00
2026-08-31 18:11:20 -04:00
2026-10-26 15:27:54 -04:00
2026-11-15 21:38:30 +00:00
2026-11-15 21:38:30 +00:00
2026-09-18 18:24:57 -04:00
2026-09-18 09:27:39 -04:00
2026-10-26 18:50:41 +00:00