Emily Andrews
unread,Feb 13, 2025, 10:53:31 AMFeb 13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Site Isolation Development, Charlie Reis, Site Isolation Development, Alex Moshchuk, Alex Gough, Emily Andrews (LEDBETTER), vbry...@microsoft.com, fabio...@microsoft.com
Hi,
I started a conversation with our site isolation group at Microsoft. I'm pretty booked on finding performance gains for WebUIs this coming year, and my colleagues are excited to contribute to the project!
I think to move forward with my interests, I can either implement a very basic Principal interface SiteInfo inherits from that includes the relevant operators and the creation function with the GURL and Context object (current code makes it seem like IsolationContext is probably superfluous in favor of BrowserContext) or hold off on implementing a complete Utility Process Pooling solution with site isolation until there's a forcing use case or the API is made available in a few months.
From the document and the current uses, it's not super clear to me if the Principal is meant to be used as a key for comparison or the ProcessLock is supposed to be used as a key for comparison as it's being used in ChildProcessSecurityImpl. What I would like to do for my implementation of the sorting algorithm is to inherit off the correct key and make it a snap for someone to compare the Utility Process principal with the renderer process principal.
I implemented it today with a UtilityProcessLock that inherits off of ProcessLock and then if we hypothetically were to compare UtilityProcessLock A with ProcessLock B, it would use the ProcessLock operators, but if UtilityProcessLock A is compared with UtilityProcessLock C, it will use UtilityProcessLock operators. I'm planning to just pack in all the relevant ServiceProcessHost::Options into this key for the purposes of identifying suitable matches.
Let me know what your preferences are for me to move forward on this.