Clean up unused manifest property + prevent error in storage lookup #899
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes a chrome manifest warning (visible when loading the unpacked extension produced by the steps in the readme) by removing an obsolete
![screenshot 2018-12-19 at 13 32 02](https://user-images.githubusercontent.com/7144173/50226522-4beabd00-039b-11e9-9f3c-ef69e759d712.png)
browser_style
property from the top leveloptions_ui
hash:Per the docs this property is no longer used, removing it has no effect as the default when specifying the options menu using
options_ui
(embedded) - as opposed to simplyoptions_page
(full page) - is this "modal" style options dialog:There is also the option top explicitly set the
options_ui.open_in_tab
property to false. Would we prefer to be explicit or rely on the default here?While working on a different issue I noticed a background script error caused by attempting to access a
showTomster
property of undefined so I've added a guard inside thechrome.storage.sync.get
call for when our options haven't yet been initialised (before the first user prompted call tostoreOptions
sets the correct structure). I'm happy to move this change out into a different PR / drop it if you'd prefer.