BZ-11132: add localStorageSupported() boolean function