-
Notifications
You must be signed in to change notification settings - Fork 2
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
Core_View doesn't work in packaged chrome app (w/ background page) #83
Comments
In principle I think this should live in freedom-for-chrome, though as you noted in the snippet you emailed me the approach you have now may be a little uProxy-specific. Parametrizing the path may be the way to make it work more generally. |
On further reflection, if the fix can be small enough it may be best just to keep the core freedom provider still. It seems like the main issue is the path - do you think just putting that fix in would work? E.g. https://github.com/freedomjs/freedom/tree/soycode-coreview We should still do some due diligence about how general the |
Actual commit - freedomjs/freedom@6d84af1 |
I think those changes for the path would help us but that's not all that is missing to run in a Chrome app. With those changes, it's still trying to append the view as div to the |
Longshot possibility - do you think we could use |
Actually had a better thought - freedomjs/freedom@befc4d7 If that doesn't work as-is, then hopefully just creating a new appwindow (i.e. |
The default implementation of Core_View that gets built into freedom-for-chrome.js does not work in packaged chrome apps using a background page.
Some issues I'm seeing:
document.body
. However that is just appending to thedocument.body
in the background HTML page - not something that is ever displayed to the user.web_accessible_resources
in the manifest, but that's not available for packaged apps).I've hacked together a simple core.view provider for Chrome that uses
chrome.app.window.create
to display views inside a Chrome app, after removing chrome-extension://..id../ from the URLs. Any thoughts on whether this should be submitted to freedom-for-chrome, or if it should just live in uProxy as our own custom core.view provider?Somewhat related to Core_View issues in freedom-for-firefox, freedomjs/freedom-for-firefox#83
The text was updated successfully, but these errors were encountered: