Obtaining the permission should use the "physical origin", but what gets persistent is only the suborigin. That does mean that once the user grants it for one suborigin, all suborigins of that "physical origin" can invoke persist() to get their data persisted if desired.
This will also require some refactoring of how boxes work.
(Again, Origin Isolation would not be affected here.)
Obtaining the permission should use the "physical origin", but what gets persistent is only the suborigin. That does mean that once the user grants it for one suborigin, all suborigins of that "physical origin" can invoke
persist()
to get their data persisted if desired.This will also require some refactoring of how boxes work.
(Again, Origin Isolation would not be affected here.)