You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If browser.scripting.executeScript all of extension script on chrome.runtime.OnInstalledReason.INSTALL or chrome.runtime.OnInstalledReason.UPDATE, we encounter this situation.
Is your feature request related to a bug?
N/A
What are the alternatives?
We have to wrap createShadowRootUi to check the name of the custom component used to host the ShadowRoot whether existed.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
After the problem is solved, I have to use global variable to control whether the ui is mounted, like window.__mountedNames. I think the implement should going on under the hood.
Interesting, the ContentScriptContext should be causing the UI to be removed if the install/update events are firing and when if it sees another version of the same script is being executed.
I'll double check this at some point, but it's a low priority rn since you have a work-around.
Feature Request
If
browser.scripting.executeScript
all of extension script onchrome.runtime.OnInstalledReason.INSTALL
orchrome.runtime.OnInstalledReason.UPDATE
, we encounter this situation.Is your feature request related to a bug?
N/A
What are the alternatives?
We have to wrap
createShadowRootUi
to check thename
of the custom component used to host the ShadowRoot whether existed.Additional context
N/A
The text was updated successfully, but these errors were encountered: