- Set
dom.indexedDB.storageOption.enabled
totrue
, then restart the browser - Go to a webpage, and in the devtools console, paste this in:
let request = indexedDB.open(name, { version: 1, storage: "persistent" });
- In the Browser Console, paste in:
gBrowser.selectedBrowser.browsingContext.currentWindowGlobal.getActor("EncryptedMedia").showPopupNotificationForSuccess(gBrowser.selectedBrowser)
- Press enter, switch back to browser window, and click on icon in the URL bar
- Set
dom.webmidi.enabled
totrue
and then restart the browser - Visit https://permission.site/
- Click on "MIDI"
- In the Browser Console, paste in:
{
function makeMockPermissionRequest(browser) {
let type = {
options: Cc["@mozilla.org/array;1"].createInstance(Ci.nsIArray),
QueryInterface: ChromeUtils.generateQI(["nsIContentPermissionType"]),
};
let types = Cc["@mozilla.org/array;1"].createInstance(Ci.nsIMutableArray);
types.appendElement(type);
let principal = browser.contentPrincipal;
let result = {
types,
isHandlingUserInput: false,
principal,
topLevelPrincipal: principal,
requester: null,
_cancelled: false,
cancel() {
this._cancelled = true;
},
_allowed: false,
allow() {
this._allowed = true;
},
getDelegatePrincipal(aType) {
return principal;
},
QueryInterface: ChromeUtils.generateQI(["nsIContentPermissionRequest"]),
};
// In the e10s-case, nsIContentPermissionRequest will have
// element defined. window is defined otherwise.
if (browser.isRemoteBrowser) {
result.element = browser;
} else {
result.window = browser.contentWindow;
}
return result;
}
const { PermissionUI } = ChromeUtils.import(
"resource:///modules/PermissionUI.jsm"
);
let Prompt = PermissionUI.XRPermissionPrompt;
let mockRequest = makeMockPermissionRequest(gBrowser.selectedBrowser);
let TestPrompt = new Prompt(mockRequest);
TestPrompt.prompt()
}
and press enter. Switch back to the browser window.
- Set
privacy.resistFingerprinting
totrue
and restart the browser - Visit https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_ispointinpath
- Click on the icon in the URL bar
- Set
browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
totrue
- In about:home / about:newtab, click on the wrench in the top right corner
- Hit Cmd/Ctrl-F to open the findbar, and search for
DOH_ROLLOUT_CONFIRMATION_89
- Next to that entry, click "Show"