2018-05-10 21:55:05 +00:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
const {defineExtensionTests} = require("./setup");
|
|
|
|
|
2019-12-12 18:00:46 +00:00
|
|
|
defineExtensionTests({
|
|
|
|
description: "polyfill imported as an ES6 module",
|
|
|
|
extensions: ["import-as-es6-extension"],
|
|
|
|
});
|
|
|
|
|
2018-05-10 21:55:05 +00:00
|
|
|
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({
|
2018-08-15 20:33:37 +00:00
|
|
|
description: "polyfill should detect an existing browser API object in content scripts and extension pages",
|
|
|
|
extensions: ["detect-existing-browser-api-object"],
|
2018-05-10 21:55:05 +00:00
|
|
|
});
|
2018-06-19 20:54:07 +00:00
|
|
|
|
|
|
|
defineExtensionTests({
|
|
|
|
description: "Instance of BrowserSetting API",
|
|
|
|
extensions: ["privacy-setting-extension"],
|
|
|
|
});
|
2019-02-01 07:38:35 +00:00
|
|
|
|
|
|
|
defineExtensionTests({
|
|
|
|
description: "browser.devtools",
|
|
|
|
extensions: ["devtools-extension"],
|
|
|
|
openDevTools: true,
|
|
|
|
});
|