webextension-polyfill/test/integration/test-extensions-in-browser.js

29 lines
773 B
JavaScript
Raw Normal View History

"use strict";
const {defineExtensionTests} = require("./setup");
defineExtensionTests({
description: "browser.runtime.onMessage/sendMessage",
extensions: ["runtime-messaging-extension"],
});
defineExtensionTests({
description: "browser.runtime.onMessage/sendMessage",
extensions: ["tabs-sendmessage-extension"],
});
defineExtensionTests({
description: "browser.runtime.onMessage/sendMessage",
extensions: ["multiple-onmessage-listeners-extension"],
});
defineExtensionTests({
description: "polyfill should detect an existent browser API object in content scripts",
extensions: ["detect-browser-api-object-in-content-script"],
});
defineExtensionTests({
description: "Instance of BrowserSetting API",
extensions: ["privacy-setting-extension"],
});