In MV3 the background page may be a service worker. Let's add a test case that confirms that the polyfill works when used with `importScripts`, and add an example to README.