function handlePerformanceWarning(details) {
console.log(`Performance warning: ${details.description}`);
}
browser.runtime.onPerformanceWarning.addListener(handlePerformanceWarning);runtime.onPerformanceWarning / notebook
runtime.onPerformanceWarning
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.