You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps the way to do this is to provide a MaybeCCW<T> wrapper, which can be queried to either be a same-compartment T or a cross-compartment T::Transplanted where T: Transplantable<SOMEWHERE>. For example a MaybeCCW<Window<'a, C>> would either be a Window<'a, C> or a Window<'a, SOMEWHERE>.
If we only allow MaybeCCW<T> objects to be brain-transplanted, then their type isn't changed by transplanting.
Perhaps this should be MaybeXOW<T>, with three-options: a T, a cross-compartment same-origin T::Transplanted, or a cross-compartment cross-origin wrapper (in which case access to the T::Transplanted is unsafe???).
We need some way to allow JS-managed data in compartment
C
to point to data in compartmentD
, e.g. with a cross-compartment wrapper.The text was updated successfully, but these errors were encountered: