Skip to content

error: "SecurityError: The operation is insecure. " in firefox #148

@luneshao

Description

@luneshao

hello,
when i use vue-ls package in my project(with vue-cli), it will throw error when Firefox opens.The error like "SecurityError: The operation is insecure." And, it is OK in Chrome and Opera.

error screenshot in firefox

version msg:

  • Firefox: 76.0.1 (64-bit)
  • Os: mac os catalina 10.15.2
  • vue-ls: 3.2.1

my code

// main.js
import Vue from 'vue';
import VueLs from 'vue-ls';

const options = {
  namespace: 'test__', // key prefix
  name: 'ls', // name variable Vue.[ls] or this.[$ls],
  storage: 'local', // storage name session, local, memory
};

Vue.use(VueLs, options);

Hope for your help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions