Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Registering a custom protocol handler crashes #66

Open
Mossop opened this issue Sep 29, 2016 · 5 comments
Open

Registering a custom protocol handler crashes #66

Mossop opened this issue Sep 29, 2016 · 5 comments

Comments

@Mossop
Copy link

Mossop commented Sep 29, 2016

  • Electron version: 1.4.0
  • Operating system: Windows

In Tofino we register a tofino:// protocol handler through the protocol.registerHttpProtocol electron API. This works in regular Electron but crashes with a segmentation fault in current builds of brave/electron.

@bridiver
Copy link
Collaborator

which brave electron version? It may be this
082272d

@bridiver
Copy link
Collaborator

it broke after electron/electron@e5daf63
and was fixed in the commit above

@Mossop
Copy link
Author

Mossop commented Sep 30, 2016

I just retested with current master, v1.4.8 and still see the issue. I've been trying to bisect but it looks like you rebase for each new Electron version which makes bisecting more difficult.

@bridiver
Copy link
Collaborator

Interesting. We also register custom protocol handlers, but we're using navigator.registerProtocolHandler so I guess it's possible that the electron api still has a problem with our changes

@bridiver
Copy link
Collaborator

on the rebase issue, we have been the only people using our fork so far afaik and rebasing made things easier for us, but we're trying to move our changes from atom -> brave and upstream some changes to make it easier to extend

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants