mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
24 lines
695 B
JavaScript
24 lines
695 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
/* eslint-env browser */
|
|
/* global browser */
|
|
|
|
"use strict";
|
|
|
|
document.body.innerText = "Background Page Body Test Content";
|
|
|
|
// These functions are called from the following about:debugging tests:
|
|
// - browser_addons_debug_webextension.js
|
|
// - browser_addons_debug_webextension_popup.js
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
function myWebExtensionAddonFunction() {
|
|
console.log("Background page function called", browser.runtime.getManifest());
|
|
}
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
function myWebExtensionShowPopup() {
|
|
browser.test.sendMessage("readyForOpenPopup");
|
|
}
|