Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

clean() does not work on 'session' driver and namespace with a dot #32

@RhonanMS

Description

@RhonanMS

I am using clean() to remove all values from a given namespace. However, if the namespace contains a dot within it's name (e.g. 'test.namespace'), on my Chrome the namespace is not cleared of its values afterwards.

The following test case should demonstrate the problem:

locker.driver('session').namespace('test.namespace').put('test', 'testvalue'); locker.driver('session').namespace('test.namespace').clean();

In Chrome, the resource view for the session storage returns the following afterwards:
'test.namespace.test' => 'testvalue'

Could it be that the dotted namespace screws up the cleaning algorithm?

The version used is 2.0.4

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