clean() does not work on 'session' driver and namespace with a dot
RhonanMS opened this issue · comments
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
Hmm.. I will take a look into it, Thanks