Skip to content

Use correct key when saving settings to local storage

Created by: davemevans

Key lookup returns undefined because DOMStorage is not being imported correctly in MediaController.

DOMStorage needs to be imported for access to its constants.

Unless I am missing something, DOMStorage is a singleton so does not need to be passed in as a configuration object but an instance can simply be acquired.

Discovered whilst investigate FF localStorage issue.

Merge request reports