-
Notifications
You must be signed in to change notification settings - Fork 22
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
Injection improvements #579
Comments
One minor issue I found in Firefox:
It's something I noticed in the sidebar error PR since I only get a "unable to connect" error instead of "unable to inject" Related: |
I'm confused about this part of the code. It's marking tabs and frames as "ready" but… what happens when a frame reloads? Don't we lose that readiness? This is never set to false though. I haven't verified, but this would mean that parts of the extension that depend on this will fail after a reload. |
I think you're correct (I haven't verified either). In practice this executor code is used in a flow where the |
@fregante What do you view as remaining on this ticket? We can create a separate issue for: #579 (comment) that's low priority |
Sounds good. What would the action be though? Should that code be dropped?
If #661 eliminated duplicate injection, maybe the first task on this issue isn't necessary anymore. I don't know whether this still applies, I'll extract it if I encounter it again. The next step I wanted to take as part of this was this, but I'll extract this when I hit a problem with it again:
Closing for now, I'll open more specific issues when found. |
A few things we can do to make responses faster:
import()
as suggested in #540: prevent multiple content script injections #541 (comment)Related:
The text was updated successfully, but these errors were encountered: