Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1861445 - Add the runtime.onPerformanceWarning WebExtension event…
… r=zombie When an extension's content script is very slow and causes a webpage to hang noticeably, a warning banner is displayed to the user. It would be useful to also notify the extension developer when that happens, so that they can address the issue. Let's add a new event runtime.onPerformanceWarning that can be dispatched when the browser needs to warn an extension of runtime performance issues. For now, let's just dispatch that event when the slow extension warning banner is displayed to the user. See also w3c/webextensions#456 Differential Revision: https://phabricator.services.mozilla.com/D194708 UltraBlame original commit: 199b3c24b8b43b8053831d7c287bbe83e43037c4
- Loading branch information