On Thu Sep 8 16:21:40 2022 +0000, Gabriel Iv��ncescu wrote:
*(Gitlab's reply via email seems a bit borked right now, so I apologize if the messages will be repeated if it solves itself, but here it is)* Wait, I'm struggling a bit, how do you add a (fake) origin without a custom pluggable protocol? (which is in script.c) I don't mind testing it from JS, and I'll do that with iframe, but I wanted to test parallel docs with same origin, where events are not sent between them.
We could add pluggable protocol there. For the main document, it's possible to just expose protocol handler from moniker's bind context (but registering the handler globally may be more reliable).