-
Notifications
You must be signed in to change notification settings - Fork 56
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 proposal for runtime.onEnabled and runtime.onExtensionLoaded events #729
base: main
Are you sure you want to change the base?
Conversation
Thanks for writing the formal proposal and sponsoring the implementation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for picking this up! I left one comment, but otherwise LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above comments.
@Rob--W - Can you also take a look at this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks! Seems like the discussion on enum values is resolved.
I reviewed the proposal, and it generally looks good. There is one unspecified aspect... What are the expected semantics when When The proposal currently suggests to use the |
This is a great callout. I think https://issues.chromium.org/41029550 which you opened is good context as well. This is an existing problem with the onInstalled event and it would be nice to agree on something as part of this work. My first thought is that firing the event probably makes sense but I'd be interested to hear any other arguments.
I think we can probably just remove that example from the proposal. The other use cases are compelling and harder to do with existing workarounds. |
I too agree that firing the event for split mode incognito workers makes sense. I have updated the proposal accordingly. Please take a look 😄. FYI @Rob--W, @oliverdunk, @rdcronin, @xeenon |
Looks good to me. I confirmed that Devlin was happy with the split mode behavior from a Chrome perspective. |
Creating a proposal for #353. This is based on @justinlulejian's proposal document here:
https://docs.google.com/document/d/1Fpqg-cQRoNkQVL-hoQi5fqhVoOEdjOiGoQXWdw_yFxo/edit?tab=t.0