mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02:00
Requires communication between the script thread and the constellation to be able to retrieve the origin of a cross-origin document. However, in the fast-path where the document resides in the same script-thread, we use the `frame_element` instead. If no CSP list is active, then we skip all this logic, to have a minimal impact on document navigation. Part of #4577 Fixes #36468 --------- Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com>