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,robwu 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: 9d33a3994005a05a8fbc4ad307e4bd6fb4ab2a63
- Loading branch information