Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement protocol activation #23908

Open
jdm opened this issue Aug 1, 2019 · 4 comments
Open

Implement protocol activation #23908

jdm opened this issue Aug 1, 2019 · 4 comments
Labels

Comments

@jdm
Copy link
Member

@jdm jdm commented Aug 1, 2019

We want to support launching directly into immersive content from other device content (such as Edge). The easiest way to do that is by registering a custom protocol handler and using information passed through it to load a page in Servo and provide implicit permission for entering immersive mode.

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Aug 26, 2019

The protocol handler now works: #24008

We now need:

  1. find a way to create and open the servo:// URL from edge
  2. figure out a way to trigger the immersive mode in Servo. We can't just guess which JS function to call to initiate the immersive mode.
@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Aug 28, 2019

find a way to create and open the servo:// URL from edge

I mean, we need to decide when Edge should re-write the URL with the servo prefix, and how it will do it. Maybe a user script? Not sure what mechanics Edge supports.

@jdm
Copy link
Member Author

@jdm jdm commented Aug 28, 2019

Yes, there are some possibilities - one option requires modifying Edge to detect when Firefox Reality is installed, notice when a page contains WebXR usage and popping up a little notification that would launch FxR with the right URL if selected. There is also ongoing spec discussions about how to launch directly into immersive mode - if there were a DOM event which means "now is the right time to launch immersive mode" which content could watch for, we could fire that when the page loads.

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Oct 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.