Skip to content

Commit

Permalink
update test runner and coverage for mv3
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed Jan 2, 2024
1 parent a313365 commit 250c305
Show file tree
Hide file tree
Showing 9 changed files with 527 additions and 485 deletions.
38 changes: 22 additions & 16 deletions manifests/manifest-chrome-testing.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "6.2.1",
"version": "6.3.4",
"default_locale": "en",
"description": "__MSG_extDesc__",
"icons": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"browser_action": {
"action": {
"default_icon": {
"19": "images/icon19.png",
"38": "images/icon38.png"
Expand All @@ -22,11 +22,14 @@
"_execute_action": {},
"scan-qr": {
"description": "Scan a QR code"
},
"autofill": {
"description": "Autofill the matched code"
}
},
"options_ui": {
"page": "view/options.html",
"chrome_style": true
"open_in_tab": false
},
"storage": {
"managed_schema": "schema.json"
Expand All @@ -38,33 +41,36 @@
]
},
"background": {
"scripts": [
"dist/background.js"
],
"persistent": true
"service_worker": "dist/background.js"
},
"sandbox": {
"pages": [
"view/argon.html"
],
"content_security_policy": "sandbox allow-scripts; script-src 'self' 'unsafe-eval';"
"view/argon.html",
"view/test.html"
]
},
"permissions": [
"activeTab",
"storage",
"identity"
"identity",
"alarms",
"scripting"
],
"optional_permissions": [
"clipboardWrite",
"contextMenus",
"contextMenus"
],
"optional_host_permissions": [
"https://www.google.com/",
"https://*.dropboxapi.com/*",
"https://www.googleapis.com/*",
"https://accounts.google.com/o/oauth2/revoke",
"https://graph.microsoft.com/me/*",
"https://login.microsoftonline.com/common/oauth2/v2.0/token"
],
"offline_enabled": true,
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjo5++7m6mlJGqKOnlYehr9tjIqahMZBJUG7PLa7dSRk6bDUu2pVodO1TQWviHlrDTLP+zfoVbDBS8v8cjloK5Tn90nzC6a957dPzOfyC1WUNYNDlGM0BCmZKVP/MWB3d0ffOmTwaxh0L47aLH5nTW0AUmuwCWCBEEl4Acuyp7rwLNGlazBpaom1Qb5ckn29gCJVVVIZ6wudmcrG/FPTNJXQbg8N6wObGrgGOaxmowbkzJmIfKTyHlYOKLAjZ7aJi0W6jsy47/aV+ojvn4gO+ka6BcRhUeWgoQxqEky119f3OWiVP46SJVbAi0pkknThUjDvX11lATGjB5EvJZGyotwIDAQAB",
"content_security_policy": "script-src 'self' 'unsafe-eval'; font-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; connect-src https://www.google.com/ https://*.dropboxapi.com https://www.googleapis.com/ https://accounts.google.com/o/oauth2/revoke https://login.microsoftonline.com/common/oauth2/v2.0/token https://graph.microsoft.com/ ws://localhost:9090; default-src 'none'"
"content_security_policy": {
"extension_pages": "script-src 'self'; font-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; connect-src https://www.google.com/ https://*.dropboxapi.com https://www.googleapis.com/ https://accounts.google.com/o/oauth2/revoke https://login.microsoftonline.com/common/oauth2/v2.0/token https://graph.microsoft.com/; default-src 'none'",
"sandbox": "sandbox allow-scripts; script-src 'self' 'unsafe-eval';"
},
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjo5++7m6mlJGqKOnlYehr9tjIqahMZBJUG7PLa7dSRk6bDUu2pVodO1TQWviHlrDTLP+zfoVbDBS8v8cjloK5Tn90nzC6a957dPzOfyC1WUNYNDlGM0BCmZKVP/MWB3d0ffOmTwaxh0L47aLH5nTW0AUmuwCWCBEEl4Acuyp7rwLNGlazBpaom1Qb5ckn29gCJVVVIZ6wudmcrG/FPTNJXQbg8N6wObGrgGOaxmowbkzJmIfKTyHlYOKLAjZ7aJi0W6jsy47/aV+ojvn4gO+ka6BcRhUeWgoQxqEky119f3OWiVP46SJVbAi0pkknThUjDvX11lATGjB5EvJZGyotwIDAQAB"
}
Loading

0 comments on commit 250c305

Please sign in to comment.