chromium/chrome/test/data/extensions/api_test/runtime/get_package_directory/extension/test/test.html

<html>
  <!-- This test uses an html page as runtime.getPackageDirectoryEntry() is not
    exposed on service workers so can't be called on the background worker. -->
  <script src="test.js"></script>
</html>