Open Bug 1992088 Opened 5 months ago Updated 5 months ago

webcompat client should not use ES modules from the remote protocol component

Categories

(Testing :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned, NeedInfo)

References

Details

As noticed during the review of D266244 the testing/webcompat/client.py is using shared modules from the Remote Protocol component. Note that those modules are not intended to be shared outside of the /remote folder and as such shouldn't be used by any other client.

Tom, can someone from the webcompat team please take care of it and find appropriate alternatives for the following imported symbols?

  • EventPromise: "chrome://remote/content/shared/Sync.sys.mjs",
  • modal: "chrome://remote/content/shared/Prompt.sys.mjs",
  • PromptListener: "chrome://remote/content/shared/listeners/PromptListener.sys.mjs",
  • TabManager: "chrome://remote/content/shared/TabManager.sys.mjs",

Thanks!

Flags: needinfo?(twisniewski)

This code was introduced as part of bug 1902419.

See Also: → 1902419
You need to log in before you can comment on or make changes to this bug.