You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's try to make background.js a completely generic file, which relies on declarative specification, by the extension, of its contents, and loads it.
This will hinge on getting data from the package manifest, in manifest.json
This should have three phases:
Make the manifest usable in background.js
Use the manifest to obtain/generate non-tabular data, like the options dialog URI and the default pref file path
Use the manifest to obtain/generate the tabular data passed to WindowsListener: The per-window overlay injectors, and the Chrome URLs for registration. That means the tables will go into the manifest.json, in some form or another - or alternative, will be generated from inspecting package files and directories.
Once this is done, we might take a crack at dropping the overlay injectors altogether and making that part declarative as well.
Anyway, this bug is about phases (1.) and (2.)
The text was updated successfully, but these errors were encountered:
* `manifest.json` now contains a `short_name` property, which can be used for generating a default prefs file path and an options dialog URI
* `background.js` now utilizes the manifest to lookup the extension's short name, and to generate that default prefs path and dialog URI for registration
* `manifest.json` now contains a `short_name` property, which can be used for generating a default prefs file path and an options dialog URI
* `background.js` now utilizes the manifest to lookup the extension's short name, and to generate that default prefs path and dialog URI for registration
* `manifest.json` now contains a `short_name` property, which can be used for generating a default prefs file path and an options dialog URI
* `background.js` now utilizes the manifest to lookup the extension's short name, and to generate that default prefs path and dialog URI for registration
Let's try to make
background.js
a completely generic file, which relies on declarative specification, by the extension, of its contents, and loads it.This will hinge on getting data from the package manifest, in
manifest.json
This should have three phases:
background.js
Once this is done, we might take a crack at dropping the overlay injectors altogether and making that part declarative as well.
Anyway, this bug is about phases (1.) and (2.)
The text was updated successfully, but these errors were encountered: