Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1845150 - Update notificationbox usage for process hang notificat…
…ion r=reusable-components-reviewers,tgiles Can be tested locally using this snippet (which I think I took from a test...): ```js let addonId = "test"; let policy = new WebExtensionPolicy({ name: "Scapegoat", id: addonId, mozExtensionHostname: Services.uuid.generateUUID().number.slice(1, -1), baseURL: "file:///", allowedOrigins: new MatchPatternSet([]), localizeCallback() {}, }); policy.active = true; ProcessHangMonitor.showNotification(window, { addonId, scriptBrowser: { browsingContext: { watchedByDevTools: false }} }); ``` Differential Revision: https://phabricator.services.mozilla.com/D194316
- Loading branch information