Including non-Blink interface in SW's CrossOriginResourcePolicyChecker

15 views
Skip to first unread message

Camille Lamy

unread,
Jan 14, 2025, 12:29:04 PMJan 14
to platform-architecture-dev
Hi Platform-architecture-dev,

I'd like to include services/network/public/mojom/document_isolation_policy in https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/service_worker/cross_origin_resource_policy_checker.h so that I have access to the DocumentIsolationPolicy struct and DocumentIsolationPolicyReporter interface.

The DocumentIsolationPolicy interface is added in this CL: https://chromium-review.googlesource.com/c/chromium/src/+/6074457.


Both the interface and the struct would be stored in the CrossOriginResourcePolicyChecker, to be passed to the network service CrossOriginResourcePolicy code. This would match what the CrossOriginResourcePolicyChecker does with CrossOriginEmbedderPolicy(Reporter), for which there is an exception.

Would a similar exception for DocumentIsolationPolicy be ok?

Thank you!
Camille

Kentaro Hara

unread,
Jan 14, 2025, 6:53:30 PMJan 14
to Camille Lamy, platform-architecture-dev
LGTM


--
You received this message because you are subscribed to the Google Groups "platform-architecture-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-architect...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAMKsNvqj8d1_JiYGRKCwxWwiibpcqvVLs5nEqvb0zW4gyxX%3DjA%40mail.gmail.com.


--
Kentaro Hara, Tokyo
Reply all
Reply to author
Forward
0 new messages