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

Add Edge support #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ByzantineFailure
Copy link
Contributor

@ByzantineFailure ByzantineFailure commented Jan 5, 2017

Adds support for edge.

No, I have no idea if it's built right for the store. I've been running it locally and it seems to work pretty well. Similarly no, I have absolutely no desire to publish or maintain this on MS's store for public consumption. I just figured that if it exists I'd PR it up to the mainline and leave build support for it. You'll note build/edge.zip has not been added to the main build call.

The changes themselves are actually pretty simple.

  1. Specific manifest.json for edge. (Note, in Edge we have to use run_at: "document_end" or else document.head is null)
  2. Add MS-provided API bridges for the chrome APIs (/addon/vendor). As far as I can tell they're provided unlicensed so we're in the clear there.
  3. Deal with console.log.bind not being legal in IE
  4. Set up a build

There is a known issue where apparently every time we call console.log it fails and throws some unknown error with a long error code. Fuck if I know why that happens but error logging is not something we get to have right now.

Anyway, there it is. Figure anyone who wants it and is enterprising enough to build BPM can have it.

@Carson-Shook
Copy link
Contributor

I'll look into it. My biggest issue at the moment however is disk space on my Windows partition. 🙄
Hopefully Ryzen releases soon, and then I'll have a shiny new machine for Windows (and 100GB reclaimed on my Mac).

@ByzantineFailure
Copy link
Contributor Author

ByzantineFailure commented Jan 5, 2017

Right, one other caveat: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8748330/

Super annoying. Not actually a problem. But super annoying.

@Carson-Shook
Copy link
Contributor

To be fair on the devs, edge is still a baby by browser standards. Hopefully it matures quickly.

@ByzantineFailure
Copy link
Contributor Author

True that. It seems to render and run pretty smoothly (hence the "I wonder if I can port this" given that I'm trying it out).

@Rothera
Copy link
Owner

Rothera commented Jan 19, 2017

Per reddit comment, I'm not opposed to this, but I cannot be the maintainer myself. I will leave this here.

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

Successfully merging this pull request may close these issues.

3 participants