chrome+firefox v0.3.1 Makefile and dist/ build/ folders
This commit is contained in:
@@ -29,14 +29,15 @@
|
||||
//
|
||||
// This evaluates the built bundle in a worker-shaped sandbox with a stubbed
|
||||
// extension API, and asserts that it registers exactly one content script, for
|
||||
// exactly the configured origin. Run it against build/ after a build:
|
||||
// exactly the configured origin.
|
||||
//
|
||||
// make smoke
|
||||
// node tools/sw-smoke.mjs [path/to/background.js]
|
||||
|
||||
import { readFileSync } from 'node:fs';
|
||||
import vm from 'node:vm';
|
||||
|
||||
const BUNDLE = 'build/background.js';
|
||||
const BUNDLE = process.argv[2] ?? 'build/chrome/background.js';
|
||||
const CONFIGURED_ORIGIN = 'https://portal.example.br';
|
||||
|
||||
const permissionChecks = [];
|
||||
|
||||
Reference in New Issue
Block a user