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-10-22 15:28:24 +00:00
2026-11-11 06:26:24 +00:00
2026-10-27 02:52:52 +00:00
2026-11-15 21:19:22 +00:00
2026-10-28 06:28:44 +00:00
2026-10-03 00:25:43 +00:00
2026-11-15 21:38:30 +00:00
2026-11-09 17:16:08 +00:00
2026-11-12 05:28:02 +00:00
2026-11-14 03:47:55 +00:00
2026-11-10 11:26:45 +00:00
2026-11-15 09:10:08 +00:00
2026-11-15 09:10:08 +00:00
2026-11-07 03:25:46 +00:00
2026-11-07 03:25:46 +00:00
2026-11-15 17:59:08 +00:00
2026-11-15 08:57:32 +00:00
2026-11-15 08:57:32 +00:00
2026-11-04 20:21:59 +00:00
2026-11-04 20:21:59 +00:00
2026-11-15 12:12:15 +00:00
2026-11-15 12:12:15 +00:00
2026-11-05 12:05:26 +00:00
2026-11-05 12:05:26 +00:00
2026-10-28 07:56:20 +00:00
2026-10-28 11:27:49 +00:00
2026-11-14 04:30:52 +00:00
2026-11-14 16:38:35 -05:00
2026-11-02 14:47:04 +00:00
2026-11-14 00:09:26 +00:00
2026-11-15 23:54:43 +00:00
2026-11-15 23:54:43 +00:00
2026-08-24 14:22:03 -04:00
2026-11-15 08:57:32 +00:00
2026-11-15 08:57:32 +00:00
2026-10-18 15:14:48 +00:00
2026-10-17 16:52:46 +00:00
2026-10-13 06:20:31 +00:00
2026-10-28 06:28:44 +00:00
2026-10-28 06:28:44 +00:00
2026-11-15 21:38:30 +00:00
2026-11-13 21:19:19 +00:00
2026-11-13 21:19:19 +00:00
2026-11-10 20:00:58 +00:00
2026-10-08 20:24:39 +00:00
2026-11-15 08:57:32 +00:00
2026-11-05 19:03:31 +00:00
2026-10-19 03:13:50 +00:00
2026-11-05 19:03:31 +00:00
2026-11-05 19:03:31 +00:00
2026-10-24 04:11:34 +00:00
2026-10-24 04:11:34 +00:00
2026-10-21 19:19:31 +00:00
2026-10-19 16:15:24 +00:00
2026-11-05 19:03:31 +00:00
2026-11-04 13:31:12 +00:00
2026-10-16 19:35:44 +00:00
2026-11-03 10:48:47 +00:00
2026-11-03 10:48:47 +00:00
2026-11-01 23:16:56 +00:00
2026-11-01 23:16:56 +00:00
2026-11-04 09:31:52 +00:00
2026-11-15 01:24:20 +00:00
2026-11-15 01:24:20 +00:00
2026-09-28 02:22:12 +00:00
2026-10-29 02:57:48 +00:00
2026-10-29 10:10:58 +00:00
2026-10-28 11:27:49 +00:00
2026-11-15 10:31:13 +00:00
2026-10-28 06:28:44 +00:00
2026-11-14 04:30:52 +00:00
2026-11-14 04:30:52 +00:00
2026-10-30 14:11:35 +00:00
2026-10-30 14:11:35 +00:00
2026-11-05 14:09:22 +00:00
2026-11-15 08:57:32 +00:00
2026-10-28 07:56:20 +00:00
2026-10-18 22:13:37 +00:00
2026-09-05 19:35:41 -04:00
2026-11-05 05:41:24 +00:00
2026-11-08 23:16:17 +00:00
2026-10-27 13:09:02 +00:00
2026-11-16 00:00:41 +00:00
2026-10-01 23:56:36 +00:00
2026-10-01 23:56:36 +00:00
2026-10-13 04:52:22 +00:00
2026-11-11 04:14:45 +00:00
2026-11-15 08:57:32 +00:00
2026-10-28 11:27:49 +00:00
2026-11-14 03:47:53 +00:00
2026-11-14 03:47:53 +00:00
2026-11-07 18:06:05 +00:00
2026-10-30 02:56:28 +00:00
2026-10-15 18:53:16 +00:00
2026-10-30 01:47:19 +00:00
2026-11-15 08:57:32 +00:00
2026-11-15 08:57:32 +00:00
2026-11-09 14:42:37 +00:00
2026-11-15 08:47:04 +00:00
2026-11-02 01:47:06 +00:00
2026-11-11 18:47:16 +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-02 06:25:18 -07:00
2026-10-02 06:25:18 -07:00
2026-11-05 15:46:41 +00:00
2026-11-05 15:46:41 +00:00
2026-11-13 16:56:15 +00:00
2026-10-16 19:35:44 +00:00
2026-10-13 04:52:22 +00:00
2026-11-04 10:47:39 +00:00
2026-09-04 18:06:49 +00:00
2026-09-04 18:06:49 +00:00
2026-11-15 08:47:04 +00:00
2026-11-15 00:33:29 +00:00
2026-11-05 21:07:47 +00:00
2026-11-15 06:35:32 +00:00
2026-11-15 06:35:32 +00:00
2026-11-15 12:34:43 +00:00
2026-11-15 12:34:43 +00:00
2026-11-16 00:30:46 +00:00
2026-11-16 00:30:46 +00:00
2026-11-10 14:30:10 +00:00
2026-11-15 06:35:32 +00:00
2026-11-15 06:35:32 +00:00
2026-11-16 00:29:53 +00:00
2026-11-16 00:29:53 +00:00
2026-08-18 20:07:50 -04:00
2026-08-18 20:07:50 -04:00
2026-11-11 06:26:24 +00:00
2026-11-15 10:31:13 +00:00
2026-10-28 10:42:10 +00:00
2026-10-29 00:49:04 +00:00
2026-11-15 09:48:01 +00:00
2026-11-15 09:48:01 +00:00
2026-11-02 16:47:05 +00:00
2026-10-28 11:27:49 +00:00
2026-11-11 06:26:24 +00:00
2026-11-11 21:15:38 +00:00
2026-11-09 13:05:30 +00:00
2026-11-10 20:01:19 +00:00
2026-11-15 21:38:30 +00:00
2026-10-28 06:48:26 +00:00
2026-11-01 05:36:49 +00:00
2026-11-05 16:21:24 +00:00
2026-10-30 05:45:03 +00:00
2026-10-28 06:48:26 +00:00
2026-10-19 14:36:01 +00:00
2026-11-10 20:00:58 +00:00
2026-11-05 17:20:51 +00:00
2026-11-01 06:16:39 +00:00
2026-10-28 11:14:19 +00:00
2026-11-15 17:10:12 +00:00
2026-10-27 07:49:04 +00:00
2026-11-15 17:10:12 +00:00
2026-11-02 13:48:20 +00:00
2026-10-28 13:48:44 +00:00
2026-10-30 06:07:40 +00:00
2026-10-27 12:49:04 +00:00
2026-11-15 07:35:29 +00:00
2026-11-15 07:35:29 +00:00
2026-10-27 04:29:40 +00:00
2026-10-30 11:55:05 +00:00
2026-10-30 11:55:05 +00:00
2026-10-28 11:27:49 +00:00
2026-10-28 11:27:49 +00:00
2026-11-07 00:08:29 +00:00
2026-11-07 00:08:29 +00:00
2026-11-12 01:03:00 +00:00
2026-11-12 01:03:00 +00:00
2026-10-28 06:28:44 +00:00
2026-10-28 10:42:10 +00:00
2026-11-03 11:07:02 +00:00
2026-10-24 07:31:57 +00:00
2026-10-28 11:27:49 +00:00
2026-11-04 13:31:12 +00:00
2026-11-04 13:31:12 +00:00
2026-11-04 09:31:52 +00:00
2026-11-10 20:00:58 +00:00
2026-11-11 06:26:24 +00:00
2026-10-03 00:25:43 +00:00
2026-10-28 06:28:44 +00:00
2026-10-16 19:35:44 +00:00
2026-10-25 03:32:47 +00:00
2026-11-04 00:25:01 +00:00
2026-11-04 00:25:01 +00:00