test that we don't return prototype methods

This commit is contained in:
AJ ONeal 2013-01-26 02:24:05 -07:00
parent a58d4566e0
commit e3415ef9de
1 changed files with 3 additions and 0 deletions

View File

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