Skip to content

cookie without secure attribute warning #84

@cifsl

Description

@cifsl

Firefox (v100.0.2 64 bit) console show this warning:

Cookie “smarket-manager.currentWebPackBundleHash” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

[basil.min.js:1:3750]

(https://cdn.jsdelivr.net/npm/basil.js@0.4.11/build/basil.min.js)

I'm using basil with this code:

window.smarket.storage = new window.Basil({
          namespace: 'smarket-manager',
          storages: ['local', 'cookie', 'session', 'memory'],
          storage: 'local',
          expireDays: 3650
        });
        window.smarket.storage.set('currentWebPackBundleHash', initialState.currentBundleHash);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions