Merge branch 'master' of github.com:coolaj86/node-dom-storage

This commit is contained in:
AJ ONeal 2014-01-28 18:22:18 -07:00
джерело 9e7d8354ec 29642a46cc
коміт c617241c52
2 змінених файлів з 4 додано та 1 видалено

@ -1,4 +1,4 @@
DOMStorage sessionStorage & localStorage for NodeJS
=== ===
An inefficient, but as W3C-compliant as possible using only pure JavaScript, `DOMStorage` implementation. An inefficient, but as W3C-compliant as possible using only pure JavaScript, `DOMStorage` implementation.

@ -9,6 +9,9 @@
; ;
function runTest(storage) { function runTest(storage) {
// should not return prototype properties
assert.strictEqual(null, Object.getItem('key'));
assert.strictEqual(0, Object.keys(storage).length); assert.strictEqual(0, Object.keys(storage).length);
assert.strictEqual(0, storage.length); assert.strictEqual(0, storage.length);