function onCleared(result) {
if (result) {
console.log("Setting was cleared");
} else {
console.log("Setting was not cleared");
}
}
let clearing = browser.privacy.network.webRTCIPHandlingPolicy.clear({});
clearing.then(onCleared);clear() / notebook
clear()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.