Files
owl/tools/devtools/manifest-firefox.json
T
Julien Carion (juca) fb013ccc72 [FIX] devtools: fix display and message passing for firefox
This commit fixes 2 issues specific to the firefox version of the
extension:
First issue concerns the computation the position of the
border between the subwindows of the components tab which could go
terribly wrong due to the fact that the innerwidth of the window is
implicitly set to 10 when the owl devtools window is hidden.
Second issue comes from changes in the runtime.onMessage method of
browser which now requires to directly return the response instead of
using the sendResponse method.
Also perform a little cleanup on usage of browserInstance and in the
manifest.
2023-10-18 15:15:12 +02:00

40 lines
968 B
JSON

{
"name": "Owl devtools",
"version": "1.0",
"description": "Firefox devtools extension for Odoo Owl framework",
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {
"id": "@owl-devtools",
"strict_min_version": "74.0"
}
},
"icons": {
"128": "assets/icon128.png"
},
"browser_action": {
"default_icon": {
"128": "assets/icon_disabled128.png"
},
"default_title": "Owl devtools",
"default_popup": "popup_app/popup.html"
},
"web_accessible_resources": [
"popup_app/popup.html",
"devtools_app/devtools.html",
"devtools_app/components_panel.html"
],
"permissions": ["storage", "scripting", "<all_urls>"],
"background": {
"scripts": ["background.js"]
},
"devtools_page": "devtools_app/devtools.html",
"content_security_policy": "script-src 'self'; object-src 'self'",
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"]
}
]
}