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

docs: preload API enhancements proposal #366

Closed
wants to merge 2 commits into from

Conversation

samuelmaddock
Copy link
Member

Adds a new spec for enhancing the preload API.

Electron preload scripts work well when loaded into a top level frame. However, their support for loading in sub-frames or service workers is either subpar or non-existent. This proposal aims to enhance the preload scripts API to better support such use cases.

You can read the rendered markdown on my repo.

@electron/wg-api

@samuelmaddock
Copy link
Member Author

Closing for now, but may revisit this in the future after revising the proposal.

@lengband
Copy link

Is there any news about this?

@saenzramiro
Copy link

@samuelmaddock Are there intentions or an ETA to allow this? Having this for https://github.com/samuelmaddock/electron-browser-shell with Manifest V3 is a dream. 🙏🏼

@samuelmaddock
Copy link
Member Author

This was rewritten as electron/rfcs#4

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.

None yet

3 participants